✦ Test a regular expressionStep 1 of 2
Regular expression
//gi
Test string
Regex cheat sheet
.Any character\dDigit (0-9)\wWord char (a-z, 0-9, _)\sWhitespace[abc]Character set[^abc]Negated seta|bAlternation^Start of string$End of string\bWord boundary*0 or more+1 or more?0 or 1{n}Exactly n times(abc)Capture group(?:abc)Non-capture group
Pairs well with
About Regex Tester
Test regular expressions with live highlighting and match details.
Like every tool on Buncha, this one runs entirely in your browser. There's no upload, no log, no record of what you've pasted or generated. Close the tab and the data is gone.
↳ Have feedback or found a bug? hello@buncha.tools