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)/.
A Programming Language, 1962
Programming the 1900 series in COBOL, 1974
Algorithms + Data Structures = Programs, 1976
The C Programming Language, 1978
System V - Interface definition, 1986
Z80 Assembly Language Programming, 1979
TheSOURCE User's Manual, 1979
The C Primer, 1983
Interactive Fortran 77, A Hands on Approach, 1984
Perl.1 man page, 1991
Results (81 votes),