Enter a regular expression and a test string. Matches are highlighted live and capture groups are listed below.
Common tokens
- \d — digit
- \w — word char
- \s — whitespace
- . — any char
- ^ $ — start / end
- * + ? — quantifiers
- [a-z] — character set
- (…) — capture group