in reply to Re^2: Reguar expression
in thread Reguar expression

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. :)