Utility
Regex Tester
Write a regular expression and test it against any string. Matches highlight in real time.
🔒 Runs entirely in your browser — no data sent to any server.
Matches & capture groups
Quick reference
.Any character except newline\dDigit (0–9)\wWord character (a–z, A–Z, 0–9, _)\sWhitespace (space, tab, newline)\bWord boundary^Start of string (or line with m)$End of string (or line with m)*0 or more+1 or more?0 or 1 (or lazy quantifier){n,m}Between n and m times[abc]Character class[^abc]Negated character class(abc)Capture group(?:abc)Non-capturing groupa|bAlternation (a or b)