I have the following XML:
<data xmlns="">
<color>blue green</color>
<install>No</install>
<days>4</start>
</data>
I am looking to remove '', '' as well as remove the open and closing tags from a beautiful soup element.
The output should be:
Color: blue green, install: no, days: 4
here is what I've tried:
new = re.sub(r'(/>)</data>.+', '</data>', new)
I'm just learning how to regex, please forgive the noobness.