Say I have a string:
"<blockquote>Quote</blockquote><br />text <h3>This is a title</h3>"
Expected Output:
["<blockquote>Quote</blockquote><br />", "text", "<h3>This is a title</h3>"]
I need both the opening and closing tags to be included in the same item, as above.
I've tried:
re.split("<*>*</*>", s)
I'm quite new with Regex so any help is appreciated