Ive been searching for a few hours now, and I cant seem to find anything that helps me. Im looking for 2 simple regex scripts for a project im working on. The first is a script that searches a webpage for all links on it and will display them. The second will be one for the same, except for links, I would be searching for webpage for a specific <div> tag like <div class="title"> Any help would be most appreciated.
for the first one search this forum througout you may get the answer or again post here I will search for the code and post it here
ive searched this forum, looked into everything with regex, and nothing really hits me for what im looking for. i found a few on the net that would suit the url extractions, but, i cant get them to work. i have curl enabled, have tried curl scripts, and i have tried normal php fopen/fread type scripts, the problem lies with them all going cold and not working. im really looking for just a basic example that works that i can play with and customize to my needs, i just cant get that far with the scripts that i find.