I have posted in the pinned thread
Saved Search/Regex Functions an enhanced version of this function.
The regex inside the function avoids the content of the html tags, so we are free now to scan the whole page, even if some class names are in the list.
It doesn't avoid anymore the text inside {} since the inline styles are not selected by the main regex (of the "find" field).
I have written also a longer version with counters (total of all changes, and (in a json file) counters by word)