Regex Tester
Regex Tester lets you write a regular expression and watch the matches highlight live. It shows capture groups, named groups and positions, tries replacements and offers presets for email, URL and IP address. It uses your browser's JavaScript regex engine and uploads nothing.
How to use Regex Tester
- Enter a pattern and pick flags.
- Paste the text you want to test against.
- Matches highlight live; expand the list to see groups, or try a replacement.
Frequently asked questions
Which regex flavor does it use?
JavaScript, through your browser's built-in engine. Other flavors such as PCRE or Python can differ in details like lookbehind and named group syntax.
Can I test a replacement?
Yes. Enter a replacement string, including group references, and see the result.
Is my text uploaded?
No. Matching runs in your browser.
Next step
Ready to apply the pattern? Run a bulk find and replace. Open Find & Replace.