Regex Tester

Test a JavaScript regular expression against text.

How to use the Regex Tester

Enter a pattern, flags, and test text to see matches and capture groups.

About this tool

Test a JavaScript regular expression against text. The interface is designed to work on phones, tablets, and desktop browsers.