Dev Tools

Regex Escape/Unescape

Escape text so it can be safely used in a regular expression.

Input
Output
hello\.world\?
Tip: use this to match literal text (including dots, brackets, etc.) in a regex.
Was this page helpful?

Related tools