Regular Expression
Test String
Matches
Quick Reference
.Any character except newline\dDigit (0-9)\wWord character (a-z, A-Z, 0-9, _)\sWhitespace^Start of string/line$End of string/line*0 or more+1 or more?0 or 1{n}Exactly n times{n,m}Between n and m times[abc]Character class[^abc]Negated character class(abc)Capturing groupa|bAlternation (a or b)Related Tools