IJM
Developer ToolsDeveloper ToolsPopular

Regex Tester

Test regular expressions against sample text with live match highlighting and capture groups.

Processed in browserNo upload

Matches Found (2)

Match #1 (index 8): “support@ijm.dev”

Capture groups: $1="support", $2="ijm.dev"

Match #2 (index 27): “engineering@ijm.org”

Capture groups: $1="engineering", $2="ijm.org"

Guide · Developer Tools / Developer Tools

About Regex Tester

Test JavaScript regular expressions against sample text with g/i/m/s/u flags, match indices, capture groups, and built-in ReDoS safety screening.

When to use this tool

Use when crafting form validators, log parsers, or search patterns before pasting regexes into production code.

How to use Regex Tester

  1. Enter a pattern (up to 400 characters) and toggle flags (g, i, m, s, u).
  2. Paste multi-line test text to inspect highlighted matches and capture groups.
  3. Refine the expression until every expected match aligns.

Supported inputs, options, and outputs

  • Flags: Global (g), Ignore Case (i), Multiline (m), DotAll (s), Unicode (u).
  • Safety guard: Rejects nested quantifier patterns (such as (a+)+) before compilation to prevent browser hangs.

Accuracy notes and limitations

  • Uses JavaScript's RegExp engine, which differs slightly from PCRE, Python, or Go RE2 syntax.

Privacy and browser processing

Inputs and calculations run inside your browser tab without uploading documents or financial figures to IJM servers. Hosted deployments load cookie-free page-view analytics and Google Fonts.

Read the full IJM Privacy Policy or browse all Developer Tools.

Related Tools

Ranked by matching inputs, outputs, and workflow compatibility

View all 134 in Developer Tools →