✦ 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.
Everything happens on your device. Close the tab and it's gone.