On 21/07/2019 02:04, sum abiut wrote:
I want to use regular expression to print out the HTML tags excluding the attributes.
That's a very good way of creating hard-to-read code and introducing subtle bugs and unexpected behaviours. Try using an HTML parser like BeautifulSoup instead.
-- Rhodri James *-* Kynesim Ltd -- https://mail.python.org/mailman/listinfo/python-list