KERVONI · FREE TOOL

Regex Tester

Test JavaScript regular expressions and inspect match positions locally.

Inputs stay on your device; no account required.

JavaScript syntax; flags g, i, m, s, u. Up to 1,000 pattern characters, 50,000 text characters and 500 matches. Runs in an isolated worker with a 1.5-second time limit. No replacement operation.

Save this page in your browser bookmarks to use it again.

About this tool

Test JavaScript regular expressions and inspect match positions locally. JavaScript syntax; flags g, i, m, s, u. Up to 1,000 pattern characters, 50,000 text characters and 500 matches. Runs in an isolated worker with a 1.5-second time limit. No replacement operation.

Free without an accountLocal browser processingNo input upload

How to use

  1. Enter the JavaScript regular expression, flags and sample text separately.
  2. Run the test and inspect each match, position and captured group.

Example

Pattern \d+ with flag g on item 12 and item 34 finds 12 and 34.

Common question

Which regular expression syntax is supported?

JavaScript syntax; flags g, i, m, s, u. Up to 1,000 pattern characters, 50,000 text characters and 500 matches. Runs in an isolated worker with a 1.5-second time limit. No replacement operation.