Regular Expressions
| From: | Victor | Date: | Fri, 19 May 2000 15:10:44 +0000 |
| Subject: | Regular Expressions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198@lists.php.net to get a copy of this message | ||
I need to grab a comment
<!--CODE:0001-->
How can I do non-greed char match .* ??
I did this eregi("<!--CODE\:(.+)-->",$text,$regs);
How can I do .+? or something of that nature ???