Regular Expression Tools
Look up regex syntax and test patterns against representative matches, non-matches, and capture groups.
Choose by task
- Regex Tester
Test regular expressions with live matching
- Regex Cheatsheet
Regex syntax reference and common patterns
Next task
If a working pattern needs to be stored in a JSON string, escape it for JSON so its backslashes survive parsing.
Escape / Unescape