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개)
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!