I would like a regular expression to find <span>content<span>
without any attribute and delete the span tags, but keep the content.
I try: /<(\/)?span([^>]*)>/g
But get all span
<span style="font-weight: bold;">A</span>
<span id="foo" class="foo">B</span>
<span>C</span>
Here an example: https://regex101.com/r/oDIy4J/1