Regex Tester

Test and debug regular expressions with real-time pattern matching. Supports flags, capture groups, and comprehensive syntax highlighting.

Sample Patterns:
Regular Expression
//
Test String
Sample texts:
Regex Quick Reference

Character Classes

  • . - Any character
  • \d - Digit
  • \w - Word
  • \s - Whitespace
  • [abc] - Set

Anchors

  • ^ - Start
  • $ - End
  • \b - Word boundary
  • \B - Non-boundary

Quantifiers

  • * - 0+
  • + - 1+
  • ? - 0/1
  • {n} - Exactly n
  • {n,} - n+