Disclaimer... this is me being busy and not having time to tackle this right away so if you don't have something readily available I'll get to it soon and post it here...
I'm looking for a regex to parse a search string google style... right now I'm using
But I'd like to add support for phrases enclosed in quotes..
Thanks,
Rob
I'm looking for a regex to parse a search string google style... right now I'm using
Code:
$words = preg_split('/[\s,]+/', $search_string);
But I'd like to add support for phrases enclosed in quotes..
Thanks,
Rob