Regex QA Tester
Test and validate regular expressions with sample text before they land in code or QA checks.
Test Regular Expression
Common Regex Patterns
No Pattern Tested Yet
Enter a regex pattern and test text to see matches
Regex Quick Reference
Character Classes
\d- Any digit (0-9)\w- Word character\s- Whitespace.- Any character[abc]- a, b, or c[^abc]- Not a, b, or c
Quantifiers
*- 0 or more+- 1 or more?- 0 or 1{n}- Exactly n{n,}- n or more{n,m}- Between n and m
Anchors
^- Start of string$- End of string\b- Word boundary
Groups
(abc)- Capture group(?:abc)- Non-capture groupa|b- a or b
Flags
i- Case insensitivem- Multiline modes- Dot matches newline