Developer Tools

Regex Tester

Build and debug regular expressions with real-time feedback

Pattern

/ /
Valid Regex

Test String

Match Details

0 Matches
No matches found
Real-time Analysis

About the Regex Tester

A free regex tester. Type a pattern and a sample, then see each match update as you edit.

How to use the Regex Tester

  1. Enter the regular expression.
  2. Paste the sample text.
  3. Read the matches and adjust the pattern.

What to check

Patterns can differ between JavaScript and other languages. Test the same pattern in the language you will ship.

Which regex flavour does the tester use?

It uses the browser JavaScript regular expression engine.

Can I test a pattern against several lines?

Yes. Paste the full sample, including line breaks, into the text box.

Enterprise Grade Regex Tooling • Precision Matching Engine • Version 1.0.0