Skip to content
Ovatly

Regex Tester

100% PrivateDeveloper Tools

Test a regular expression against your text live and see every match with its position.

Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.

  1. 1Type your pattern, without slashes, in the Pattern field.
  2. 2Add any flags you need (g, i, m, s, u, y) in the Flags field.
  3. 3Paste or type the test text.
  4. 4Read the match list: each match shows its text, index and groups.

About this tool

The Regex Tester runs a JavaScript regular expression against your text live and lists every match with its position and capture groups. It is the quickest way to build up a pattern for validation, log parsing or find-and-replace work without guessing.

Related tools

Advertisement

Part of Ovatly's free tools in Developer Tools.