Regex QA Tester

Test and validate regular expressions with sample text before they land in code or QA checks.

Test Regular Expression
Enter your regex pattern
i = case insensitive, m = multiline, s = dotall
Enter text to test against the pattern
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 group
  • a|b - a or b
Flags
  • i - Case insensitive
  • m - Multiline mode
  • s - Dot matches newline
Browse Tools

Tool Navigation

629+ tools across 43 categories