That's true, it certainly depends on data and some details that OP didn't give (so your hints are reasonable and useful).
And it's still three regular expressions not one, but who cares -- the code does the job well. :)
In reply to Re^3: Reguar expression
by chomzee
in thread Reguar expression
by selva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |