RE: [PHP] Regular Expression just one step away from what I need....
| From: | Jay Blanchard | Date: | Fri, 17 Aug 2007 18:25:20 +0000 |
| Subject: | RE: [PHP] Regular Expression just one step away from what I need.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260978@lists.php.net to get a copy of this message | ||
[snip]
I am no regex expert but wouldn't
preg_match_all( "/'([^']+)'/Ui", $theString, $matches);
Be more flexible?
[/snip]
Thanks all, I completely forgot about greedy/ungreedy. That is what you
get for being rusty!