Regex Tester
Test regular expressions
gGlobal (find all matches)iCase insensitivemMultiline (^ and $ match line breaks)Matches: 0
Regex Hints
Character Classes
.Any char except newline\wWord char (a-z, 0-9, _)\dDigit (0–9)\sWhitespace\WNon-word char\DNon-digit\SNon-whitespace[abc]Any of a, b, or cQuantifiers
*Zero or more+One or more?Zero or one{n}Exactly n times{n,m}Between n and mAnchors & Boundaries
^Start of string$End of string\bWord boundary\BNon-word boundaryGroups & Alternation
(abc)Capture group(?:abc)Non-capturing groupa|ba or b