Video length is 25:53

Finding and Removing HTML Elements from a Web Page

My script that looks for translation errors on our website is generating too many false positives. I need to ignore an area at the bottom of all pages called the country selector, which is a list of country names that are not translated. I first try to remove the country name strings after extracting the text from the web page, but then I realize it would be better to find and remove specific HTML elements before extracting the text.

(Originally posted on Stuart’s MATLAB Videos blog.)

Recorded: 3 Apr 2026

Related Products