I’m having problems with the Replace function for a string, with regex.
I’m trying to escape all characters except numbers and text.
The second Replace function is working properly (I need to escape everything except text). I can’t seem to find the problem, or difference between the two functions.
–> the output stays the same as the input (even if I change the output variable to a new)
–> the output is as expected