As our friend notes, you mean:
Update: Ok, I didn't read the spec carefully enough, I think this will do it:
But I'd probably split it into two regexes.
I'm talking twaddle, anyone else want a go?
In reply to Re: Re: Help with Regular Expression matching
by davis
in thread Help with Regular Expression matching
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |