Online regex tester
Test a regular expression against your text and list every match with its capture groups, using JavaScript's engine. Runs on your device.
Runs on this device
Input
Ctrl ↵ Add to workflow
More in Developer
About Online regex tester
Write a pattern, set flags and paste sample text to see every match and its groups. It uses JavaScript's regular expression engine, so it matches what your JS code will do. Nothing is uploaded.
How to use Online regex tester
- Paste the text to test.
- Type the pattern without slashes.
- Set flags such as g or i.
- Read the matches.
Questions and answers
Which flavour is it?
JavaScript.
Do I include slashes?
No, only the pattern.
Is my text uploaded?
No.