Skip to content
Local

Developer

Regex Tester

Test JavaScript regular expressions live: every match highlighted, capture groups in a table, and a replace preview.

Runs in your browser. Nothing leaves this device.

Open Regex Tester

Free, no account, no watermark and no daily limit.

Open Regex Tester

How to use Regex Tester

  1. 1Type a pattern and pick the flags.
  2. 2Paste the text to search. Matches are highlighted as you type.
  3. 3Add a replacement to preview the result, using $1 or $<name> for groups.

Questions

Which regex flavour is this?

JavaScript, the one built into your browser, with named groups, lookbehind and the u and s flags.

Is there a limit?

It stops counting at 5,000 matches and shows the first 100 in the groups table, so huge texts stay quick.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc