Developer · DEV-03Submit an issue

Regular expression tester

Test JavaScript regex patterns, flags, positions and capture groups.

Matches · Capture groups
Input
Test text
Output
Usage guide and examples

Set the input and check the result

Enter the pattern and test text in separate fields, with flags such as i or m set separately. Results list matches, positions and capture groups, up to 500 entries. For example, \d+ matches 12 and 34 in A12 B34.

Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.

Example input and settings

\d+
g
A12 B34

What to check in the result

12 · 34