Hackerrank Tag Content Extractor Solution
In a tag-based language like XML or HTML, contents are enclosed between a start tag and an end tag like
contents. Note that the corresponding end tag starts with a /.
Given a string of text in a tag-based language, parse this text and retrieve the contents enclosed within sequences of