|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone,
Just wondering if someone could give me the syntax to put in the preg_match to match all the links found in a html page. Thanks
__________________
Nothing is Everything
|
|
#2
|
||||
|
||||
|
I think this has been posted here before. Do a search here, and failing that, google it. Something along the lines of /<a .{0,}href=(\"|'|)(.*)(\"|'|) .*>.*<\/a>/ should work.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Simple Spider Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|