Hi

I have this regular expression:

(((http|https|ftp|gopher)|mailto):(//)?[^ <>"\t]*|www\.[-a-z0-9.]+)[^ .,;\t<">\):]

Which is supposed to match hyperlinks. I would like to use this
from php to grab all hyperlinks in a text file and return them
in an array.

I've messed around with the function preg_match_all() but I just
can't seem to get it to work. Any suggestions would be very 
appreciated.

Thanks,
Nicklas

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

Reply via email to