Filter Variable to Escape Regular Expression Special Characters

I think this will work:

Here's the regular expression:

([.*+?^=!:${}()|\[\]\/\\])

And here's the replace string:

[Moderator's Edit: It should be TWO backslashes instead of three:]

\\$1
1 Like