in reply to Re^5: Regex Helpin 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)/.
An Englishman in New York
An American Werewolf in London
An American in Paris
The Innocents Abroad
An Idiot Abroad
Robinson Crusoe on Mars
A Connecticut_Yankee in King Arthur's Court
There and Back Again
Travels into Several Remote Nations of the World
Results (97 votes). Check out past polls.