[mono-api-html] Refactor to ensure the RegEx (if used) is applied everywhere

* The existing regex was not always used (e.g. new sections);

* It's now possible to use a regex on 'removed' (not just added) elements;

* It's possible to use the same regex for both (or have different ones);