.*
Regex Tester
Test and debug regular expressions live
//
Flags:
Test string
Quick reference ๐
.Any character except newline\dDigit [0-9]\DNon-digit\wWord character [a-zA-Z0-9_]\WNon-word character\sWhitespace\SNon-whitespace^Start of string/line$End of string/line*Zero or more+One or more?Zero or one (optional){n}Exactly n times{n,m}Between n and m times(abc)Capture group(?:abc)Non-capturing groupa|ba or b[abc]Any of a, b, c[^abc]Not a, b, or c[a-z]Character range\bWord boundary(?=...)Positive lookahead(?!...)Negative lookaheadAbout this tool
Write a regular expression and test it against your input in real time. See all matches highlighted inline, capture groups listed, flags toggled easily, and a full quick-reference guide.
regexregular expressionpattern matchingdeveloper