Regex Tester

Test a regular expression against your own text and see every match, its position and any capture groups, live as you type. Uses your browser’s own regex engine.

Uses your browser's own regex engine (JavaScript). Nothing is sent to a server.

How to use it

  1. 1

    Enter a pattern

    Type a JavaScript-style regular expression.

  2. 2

    Choose flags

    Tick ignore case, multiline or dotall as needed.

  3. 3

    Paste your text

    Matches, positions and groups update as you type.

Questions about regex tester

Which regex flavour is this?

JavaScript (ECMAScript), the same engine your browser uses.

Does it show capture groups?

Yes, each match lists its captured groups and start position.

Is my text sent anywhere?

No, matching happens on your device.

Related tools