Re: regex help...again
| From: | Christian Reiniger | Date: | Fri, 30 Mar 2001 14:50:35 +0000 |
| Subject: | Re: regex help...again | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46324@lists.php.net to get a copy of this message | ||
On Saturday 31 March 2001 00:07, you wrote:
> So as you seem to be good with regexps, can you tell me how i can write
> a code that will search for next occurence in a string?
> where pattern is a regexp and a string is long and ofcourse there will
> be lots of pattern matchs in it...?
What about simply using preg_match_all() ?
Or do you specifically need the positions of the matches (instead of the
values)?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.