Find-replace html tag with new tag but preserve text

Is there any custom config setting/pattern that allows me to find markup like this:
<span class="title3">Sample title</span>

and replace with this:

<h3>Sample title</h3>

Would be super useful for a use case I’m facing down.

That’s not possible at the moment, I’m afraid. You could use find_string and replace_string but that wouldn’t help with the closing span (would replace all closing span elements).

Thanks for responding.