Test regular expressions with live matching, group extraction, and a handy cheat sheet
. Any character\w Word character\d Digit\s Whitespace\W Not word char\D Not digit[abc] Character set[^abc] Negated set[a-z] Range* 0 or more+ 1 or more? 0 or 1{n} Exactly n{n,} n or more{n,m} Between n and m*? 0+ (lazy)+? 1+ (lazy)^ Start of string$ End of string\b Word boundary\B Not word boundary(abc) Capture group(?:abc) Non-capturing(?=abc) Lookahead(?!abc) Neg lookahead(?<=abc) Lookbehind(?<!abc) Neg lookbehind(?<name>) Named groupa|b AlternationEmailURLIPv4Hex ColorYour data stays private. All processing happens locally in your browser. No data is collected, stored, or sent to any server.