Jul-31-2023, 01:20 PM
(Jul-05-2023, 01:18 PM)DeaD_EyE Wrote: Regex is not a good tool to parse HTML. I can't find the source, but someone mathematically proofed, that HTML is not parsable by regex.
You could use BeautifulSoup to parse HTML.
Yes - I'd definitely agree - BeautifulSoup is much better for parsing HTML than RegEx - in theory and in practice attempting to use RegEx to parse HTML tends to get bogged down in a lot of problems.