Using MATLAB Regular Expressions to Find Patterns of URLs on Our Website
(Originally posted on Stuart's MATLAB Videos blog.)
I want to count the number of different types of pages on our website (e.g. file exchange posts, videos, MATLAB Answers). Now, I can easily get these numbers from our internal systems but I want to determine them by looking at the website. This will let me create tests that verify there has not been a problem in the publishing of content.
I already use a utility that crawls part of our website and tells me the URLs of the approximately 300,000 pages it crawls. I just need to analyze this list and look for patterns. Here is a video of me (using the code-along style) trying to work through this problem.
Remember, videos in this style are unedited real-time development. This one is also long, so feel free to skip around to parts that interest you. There is a table of contents containing a small number of chapter points.
I make multiple mistakes and incorrect assumptions as I go along. See if you can notice them before I do.
Recorded: 23 Feb 2016
Featured Product
MATLAB
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)