My xml:
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
I need a regex to extract "Don't forget me this weekend!" in the tag and also if the tag exists in python using regex.
I have written a code, but I am not able to figure out the regex expression.