Remove <span> formatting from imported notes?

What I’m trying to do

I imported a bunch of notes from Apple Notes using the Importer plugin. A lot of them came in with extra formatting. Specifically, this tag appears all over the place:

<span style="font-family:Helvetica;font-size:12pt;">

Is there any way to remove this <span> formatting globally?

Things I have tried

I’ve done searches in the forum and on Reddit. Best solution I could find is to use the “Global Search and Replace” plugin. While that does a decent job finding the span tags and replacing them with nothing, I have to press enter for every single instance of the tag I want to remove.

Is there a way to search and replace all instances at once, without having to manually approve every replacement?

You could use a text editor like VS Code or BBEdit that is able to search-replace across files in bulk. (Make sure your backups are up to date first!)

A slower approach but possibly faster than what you’re doing is to use the default Search to get a list of all instances, then use the default Replace’s “Replace All” button. You can go surprisingly quickly just clicking a search result, clicking Replace All, and repeating.