Al <mailto:[EMAIL PROTECTED]> on Thursday, May 20, 2004 12:51 PM said:
> If I have multiple instances that match the pattern, but only want the > first one, which is the best way to handle it? reread the last sentence in John's post. > John W. Holmes wrote: > >> From: "Al" <[EMAIL PROTECTED]> [snip] >> Note that this will only return one match when there could be more, >> depending upon your string. If you want all of them, use >> preg_match_all(). hth, chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php