[PHP] Re: regular expressions help please

2002-04-30 Thread liljim
Hi Ed, first example has been covered by others, so onto the next: > Pulling a word between two other words without having to know what the word > is. For example, pulling whatever word displays between "the" and > "sky". If the string was "the blue sky", the result would be the word > blue.

[PHP] Re: regular expressions help please

2002-04-30 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ed Lazor) wrote: > I've been banging my head against regular expressions all night... help > would be greatly appreciated. Could you give me examples on how to do the > following? > > Pull everything except a specific word from a sentence.