Search found 3 matches

by simonk
Mon Apr 10, 2006 4:05 pm
Forum: PHP - Code
Topic: Regular Expression - How to extract html tags and info
Replies: 2
Views: 264

Thanks :) but if i change the link, name and description into variable (unknown before the regex is run), how am I going to do it? the only thing i know is the <div class="xxx"></div> I need to make an autmatic update page that captures informatoin within this div tag. Thank you so much.
by simonk
Mon Apr 10, 2006 3:47 pm
Forum: PHP - Code
Topic: Regular Expression - How to extract html tags and info
Replies: 2
Views: 264

Regular Expression - How to extract html tags and info

I have the following code stroed in a html file: <div class="class1"> <a href="http://www.yahoo.com">Yahoo</a> A search engine <div class="category">search</div> </div> How can I use regular expression to extract the link 'www.yahoo.com', the name 'Yahoo' and the descri...
by simonk
Mon Apr 10, 2006 3:39 pm
Forum: Regex
Topic: Extracting html information
Replies: 1
Views: 1638

Extracting html information

I have the following code stroed in a html file: <div class="class1"> <a href="http://www.yahoo.com">Yahoo</a> A search engine <div class="category">search</div> </div> How can I use regular expression to extract the link 'www.yahoo.com', the name 'Yahoo' and the descri...