Regex Tester

Test your regular expressions against sample text with real-time match highlighting.

Regular Expression

Words
Numbers
Email
URL
Phone
UUID

Common Regex Patterns

  • \d - Digit character
  • \w - Word character (letter, digit, underscore)
  • \s - Whitespace character
  • . - Any character except newline
  • [abc] - Any of a, b, or c
  • [^abc] - Not a, b, or c
  • ^ - Start of string
  • $ - End of string
  • * - 0 or more repetitions
  • + - 1 or more repetitions
  • ? - 0 or 1 repetition
  • {n} - Exactly n repetitions

Test Text & Results

Matches Found
0
Pattern
//
No matches yet. Test your regex to see results.

How to Use

  • Enter a regular expression pattern in the input field
  • Select appropriate flags for your regex
  • Enter text to test against in the text area
  • Click "Test Regex" to see matches highlighted
  • Use preset patterns for common use cases
  • Copy matches to clipboard for further analysis