Thanks for the idea. It's always good to break out of my assumption that RegEx is the right way and consider something else like Grep.
Unfortunately, this was a free-text field filled by users, so I can't assume they'll give me whitespacea, any other convention or even the results of normal human brain function.
Also, this method is either a little lacking or it's way TOO smart if it knows that rubies are actually red. :)
In reply to Re^2: RegEx to match at least one non-adjacent term
by Cefu
in thread RegEx to match at least one non-adjacent term
by Cefu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |