I\'m pretty sure regular expressions are the way to go, but my head hurts whenever I try to work out the specific regular expression.
What regular expression do I ne
With multiple .* constucts the parser will invoke thousands of "back off and retry" trial matches.
.*
Never use .* at the beginning or in the middle of a RegEx pattern.