in reply to
Re^5: Regex Help
in thread Regex Help
How about "everything from pirates to careebian" ?
But what about if the wording of the OP changes? Then your solution would no longer be useful.
Correct! He would need to change the regular expression. But then I was not completely serious in my reply... (even though it works!)
One could also use variables in the regex like /($from.*$to)/.
Results (65 votes),