Search found 3 matches
- Mon Apr 10, 2006 4:05 pm
- Forum: PHP - Code
- Topic: Regular Expression - How to extract html tags and info
- Replies: 2
- Views: 264
- 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...
- 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...