Skip to content
Toolwright

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.

Tool 095 · Developer
Outside requests …How to checkRuns on this deviceWorks offline once opened

How to use Regex Tester

  1. Enter a pattern and pick flags.
  2. Paste the text you want to test against.
  3. 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.

  1. 030

    Find & Replace

  2. 118

    Text Diff Checker

  3. 013

    Cron Expression Explainer

  4. 007

    Chmod Calculator