Test Regex Pattern

Test and debug regular expressions with live highlights.

Match Count
Matches Found
The Methodology
new RegExp(pattern, flags).exec(string)

This tool uses the verified professional formula shown above. We cite our sources so you can trust every result.

How it works

Enter your regular expression pattern and the string you want to test it against. The tool will use JavaScript's native RegExp object to find all matches.

FAQ

What engine does this use?

It uses the native JavaScript Regular Expression engine found in your current browser.