Regex Tester

Test and debug regular expressions

Regex Tester

Test and debug regular expressions

🎨 Highlighted Matches:

Matches will be highlighted here...

📋 Match Details:

Match information will appear here...
Total Matches: 0

📖 Quick Reference

Character Classes:
. - Any character
\d - Digit [0-9]
\w - Word [a-zA-Z0-9_]
\s - Whitespace
Quantifiers:
* - 0 or more
+ - 1 or more
? - 0 or 1
{n,m} - Between n and m
Anchors & Groups:
^ - Start of string
$ - End of string
() - Capture group
(?:) - Non-capture group

Features

  • Real-time regex testing
  • Visual match highlighting
  • Support for all regex flags
  • Common pattern examples

How to Use

  1. 1. Enter your regex pattern and select flags
  2. 2. Type or paste your test string
  3. 3. See matches highlighted in real-time
  4. 4. Review match details and export results