Regex Tester & Debugger

Test regular expressions with real-time match highlighting

/ /
0 matches
Quick Reference
. Any character
\d Digit [0-9]
\w Word character
\s Whitespace
^ Start of string
$ End of string
* 0 or more
+ 1 or more
? 0 or 1
{n,m} n to m repeats
[abc] Character set
(...) Capture group
Advertisement

Regular Expression Cheat Sheet

Regular expressions (regex) are patterns used to match character combinations in strings. They're essential for form validation, data extraction, search-and-replace, and log parsing.

Advertisement