Every Drawer
All tools

Regex Escape

Make any text safe to use inside a regular expression by escaping its special characters.

How it works

Make any text safe to use inside a regular expression by escaping its special characters.

  1. Paste the text to escape in the box.
  2. Read the escaped text.
  3. Press Copy to take the result.

Good to know

Does Regex Escape also escape slashes?

Yes. Forward slashes get a backslash too, so the result is safe inside a pattern written between slashes.

More like this