ixuzus
2009-03-29 23:24:32 UTC
I'm trying to remove everything between { and } in a string. I can do it using
an ugly combination of FIND, MID, and a loop but suspect there might be an
easier option using REReplace. Unfortunately I'm having trouble getting it to
work.
For example I'm looking to turn this:
Some text {some more text} even more text { too much text } enough text.
into this:
Some text even more text enough text.
If someone could show me how to do this and, if possible, give a brief
explanation of how it works that would be much appreciated.
an ugly combination of FIND, MID, and a loop but suspect there might be an
easier option using REReplace. Unfortunately I'm having trouble getting it to
work.
For example I'm looking to turn this:
Some text {some more text} even more text { too much text } enough text.
into this:
Some text even more text enough text.
If someone could show me how to do this and, if possible, give a brief
explanation of how it works that would be much appreciated.