Parsing HTML with a RegEx pattern is considered very bad practice, there are other more robust ways of scraping. For example, in Python, BeautifulSoup.
You do have a fair point though, this functionality does exist in most major programming languages.
You do have a fair point though, this functionality does exist in most major programming languages.