Online RegEx Escape

This online regex escape tool will escape all special characters with a backslash so you can put your Text/String/Pattern in a regular expression - The online escaper uses the PHP function preg_quote().

Your Input:

Result, the escaped string:

Use this online escaper for:

  • C# RegEx
  • PHP RegEx
  • Java RegEx
  • JavaScript RegEx
  • js RegEx
  • JQL RegEx
  • SQL RegEx
  • any code, string or pattern

Ads

Which regex-characters must be escaped?

Special characters in regular expressions which have to be escaped are:
. \ + * ? [ ^ ] $ ( ) { } = ! < > | : -

This little and free RegEx Escaper tool for RegEx escaping helps you easily to mark text for regular expressions!