Thank you very much for both the line-by-line test and flip-flop hints. This problem had to do with fixing an existing script which choked on unexpected input (the CD_TEXT field), and so I was looking for as non-invasive a solution as possible, but I'll definitely keep your tips in mind for next time.
-Matt
In reply to Re^2: regex help, please
by mchampag
in thread regex help, please
by mchampag
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |