Removing text in all kinds of braces
Posted
by Andrew White
on Stack Overflow
See other posts from Stack Overflow
or by Andrew White
Published on 2010-05-16T18:30:07Z
Indexed on
2010/05/16
18:40 UTC
Read the original article
Hit count: 180
c#
|string-manipulation
Hi,
I have a string "hello [world] this {is} a (test)" I want to remove all text in braces, e.g. returning "hello this a". But only if the braces match.
Anyone have a nice neat solution?
© Stack Overflow or respective owner