preg_match - How do I...?
Posted: Mon Nov 29, 2010 2:53 am
Say I want to find in a string the word 'car' and after that it can be anything any lenght but the word 'hotel' and after that it can be anything any lenght and then the word 'hello' should come.
How would that perl regex look like?? How do I write to not allowing a word like 'hotel' inside this string?
How would that perl regex look like?? How do I write to not allowing a word like 'hotel' inside this string?