utilbin / regex
live matching
Regex tester
Test a regular expression against sample text.
Selected:
Matches
0
Flags: g global, i ignore case, m multiline, s dotAll. Highlight part of the test string to build a pattern from it.
Common regex tokens ▾
\ddigit (0-9)\wword character\swhitespace.any character\bword boundary^ $start / end of line*0 or more+1 or more?0 or 1 (optional){n,m}between n and m times[abc]any of a, b, c[^abc]none of a, b, c(...)capture group(?:...)non-capturing groupa|ba or b(?=...)lookahead