Regex Escape / Unescape

Escape or unescape special regex characters in text

How to Use Regex Escape Tool

  1. Type or paste text containing special regex characters into the input field
  2. Toggle between Escape mode to add backslashes and Unescape mode to remove them
  3. Copy the escaped or unescaped result for use in your regular expressions

Enable JavaScript to use these tools.