This was covered previously. I especially liked my response. Perhaps I'm biased. ;-)
In reply to Re: Using user input in a regex replace
by Tanktalus
in thread Using user input in a regex replace
by rael9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |