Searching a webpage for 'href="'
Show older comments
Is there a way to search on a webpage for the string 'href="' like it is done with the string 'http:' in cleve molers surfer.m example?
2 Comments
Guillaume
on 19 Apr 2016
Can you provide a link to that example?
Janis Uhrig
on 21 Apr 2016
Answers (2)
Meade
on 20 Apr 2016
exp = '<href="\w+">'
matches = regexp(youStr,exp,'match')
index = strfind(Str, 'href=')
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!