Page 1 of 1

a regular expression needed for extracting urls

Posted: Wed Mar 29, 2006 6:35 am
by shankimout
hi , thank you for browsing my topic . i have problem whit regular experssion

i need regular exprssion that i can extract page links & images urls from a text with preg_split function .

for example all of src='xxx' & href='xxx'

i wants extract all urls from a web page to save it

second question :

i want to save a web page whit php scripting , do you have classes for this one?

thanks alot

Posted: Sat Apr 01, 2006 5:21 am
by feyd
my post here may be of interest: viewtopic.php?t=29312