Searching a webpage for 'href="'
古いコメントを表示
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 件のコメント
Guillaume
2016 年 4 月 19 日
Can you provide a link to that example?
Janis Uhrig
2016 年 4 月 21 日
回答 (2 件)
Meade
2016 年 4 月 20 日
exp = '<href="\w+">'
matches = regexp(youStr,exp,'match')
index = strfind(Str, 'href=')
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!