On Tue, 14 May 2002, Brad Melendy wrote:
> I'm going to check out preg_match().  What if there are more than one
> instance of <a> and </a> in my string, but I know that I want the last two
> occurances at the end. Can I tell it to check starting at the end of the
> string and work forwards?  Thanks again!

You could try preg_match_all() and then just take the last two elements in 
the array...

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Reply via email to