Regex Tester
Test your regular expressions with real-time matching and highlighting.
/
/
Regex Cheat Sheet
. Any character\d Digit [0-9]\w Word char [a-zA-Z0-9_]\s Whitespace^ Start of string$ End of string* 0 or more+ 1 or more? 0 or 1{n,m} Between n and m[abc] Character class(abc) Capture groupa|b Alternation\b Word boundary(?=...) Lookahead(?!...) Negative lookahead