Regular expression - what explains the difference between KM output and regex101

I think you might find it easier, and more effective, to search for any character that does NOT match your desired characters. This would be the RegEx:
[^\p{L}\s._0-9\-]

Then just do a simple Search and Replace, which will replace ALL matches.
Here's an example macro:

Example Results

##Macro Library   Remove Unwanted Characters from String using RegEx


####DOWNLOAD:
<a class="attachment" href="/uploads/default/original/3X/0/a/0a31c5c468ac932fced90545b6d68f2907abee3a.kmmacros">Remove Unwanted Characters from String using RegEx.kmmacros</a> (2.9 KB)
**Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.**

---



<img src="/uploads/default/original/3X/5/0/508e0ff84417148a499d3892b266d5fd18879ebb.png" width="560" height="719">