using preg_match_all for this
Posted: Fri May 09, 2008 2:00 pm
Hi, I have a problem I can't seem to get past so its time to ask for help, I'm trying to extract url's
from a link that looks like this:
my guess was to use something like this, but I'm probably way off, but I used it because
it was very important to me it match all links with [1] within the <A>:
any help would be appreciated.
from a link that looks like this:
Code: Select all
<a href="http://www.somedomain.com/linktopage">[1]</a>it was very important to me it match all links with [1] within the <A>:
Code: Select all
#href://(.*?)">\[1\]</a>#