MergeMintHub

Home / Developer Tools

Regex Tester Online

Test regular expressions and see matches highlighted.

Everything runs in your browser. Your data is never sent to our servers.

About Regex Tester

Regex Tester lets you try regular expressions on your own text and see every match highlighted, with positions and capture groups listed below.

Tips for best results

How to use Regex Tester

  1. 1

    Enter a pattern

    Type your regular expression without the slashes.

  2. 2

    Choose flags

    Turn on global, ignore case, multiline and other flags.

  3. 3

    Paste test text

    Matches are highlighted and listed immediately.

Frequently asked questions

Which regex flavour is this?

JavaScript. Most basic patterns work the same in other languages, but some features differ.

Why does the page say my pattern is invalid?

The pattern has a syntax error, for example an unclosed bracket.

Is my text uploaded?

No. This tool runs inside your browser, so your data is processed on your own phone or computer and is not sent to our servers.