Regex Tester Tool - Test Regular Expressions Online

Real-time testing with highlighted matches and capture groups

Regex Tester

Test regular expressions online with real-time matching and highlighting

Match Results

Highlighted Text

Common Examples

How to Use

  • Enter your regular expression pattern in the "Regular Expression" field
  • Enter the text you want to test in the "Test Text" field
  • Select the regex flags you need (g=global, i=case insensitive, m=multiline, s=dotall, u=unicode)
  • Click "Test Match" button or see results in real-time
  • Matched text will be highlighted in the "Highlighted Text" section
  • If there are capture groups, they will be displayed in the results
  • Click "Common Examples" to quickly load common regex patterns