3 ms·
The second answer is correct, not the top answer. If you have some knowledge about the form of your HTML, then regex might very well be the best tool for the jo
by wodenokoto 11y ago
The second answer is correct, not the top answer. If you have some knowledge about the form of your HTML, then regex might very well be the best tool for the job.
I've spend hours trying to get something to work in BeautifulSoup that could have easily been done in minutes with regex and a few lines of python.