Now I want to modify the MATLAB app I recently made to scrape web pages, so that it can handle multiple multi-part patterns. i.e. where there are more than one token in the regular expression match pattern.
I’ll use this example where I want to find the href attributes and the link text for all the links on a web page (for multiple pages).
So, for the example string:
I want to extract:
So I will use this regex pattern:
Features covered in this code-along style video include:
Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.
Play the video in full screen mode for a better viewing experience.
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。