|
-
May 12th, 2003, 06:16 AM
#1
Thread Starter
Hyperactive Member
Get All Url From String
How can I get all url from string and put them in array ?
For Exam :
$s="click here http://domain.com or here http://anydo.net";
I want to put all url in array
$Url[0]="http://domain.com";
$Url[1]="http://anydo.net";
-
May 12th, 2003, 11:15 PM
#2
Stuck in the 80s
-
May 13th, 2003, 12:22 AM
#3
Frenzied Member
prokhaled, don't you remember anything we have told you here!! I can name at least 5 threads where we did this with regular expressions. hmmm, that goes into an array.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|