Regex Character Escaper

Turn ordinary text into a regular-expression pattern that matches the same characters literally. This prevents punctuation such as periods, brackets, plus signs, and question marks from acting as regex operators.

Characters the tool escapes

The metacharacters \\ ^ $ . | ? * + ( ) [ ] { } receive a backslash so the resulting pattern treats them as ordinary text. Letters, numbers, spaces, accented characters, and emoji remain unchanged.