How can I setup a regular expression to replace nested text with replacement text. I can't explain it very well, but say I want to replace [asdf] with <asdf>, and my sample text is:
I end up with this:Code:[asdf]adsfasdf[asdf]adsfadsf[/adsf][/adsf]
Or something similiar depending on the modifiers I use.Code:<asdf>adsfasdf[asdf]adsfadsf</adsf>[/adsf]
How can I accomplish replaces like this?




Reply With Quote