RE: [PHP] Help with regex: breaking strings down to 'words' and 'phrases'

2005-05-10 Thread Murray @ PlanetThoughtful
> On Wed, 11 May 2005, Murray @ PlanetThoughtful wrote: > > > Hi All, > > > > I'd very much appreciate some help building a regular expression for > > preg_match_all that can differentiate between 'words' and 'phrases'. > > > > For example, say I have a string that contains: 'this is an "example o

Re: [PHP] Help with regex: breaking strings down to 'words' and 'phrases'

2005-05-10 Thread Philip Hallstrom
On Wed, 11 May 2005, Murray @ PlanetThoughtful wrote: Hi All, I'd very much appreciate some help building a regular expression for preg_match_all that can differentiate between 'words' and 'phrases'. For example, say I have a string that contains: 'this is an "example of a phrase"' I'd like to be a