Regex Tester

Test and debug regular expressions with real-time match highlighting and capture group breakdown.

Processed locally in your browser.
Presets:
//gu
Test String2 Matches Found

Match Breakdown

#1prajwal@acharyaprajwal.com.npat index 32 (length 29)
#2support@acharyaprajwal.com.npat index 65 (length 29)

How It Works

  1. 1Enter your regular expression pattern in the pattern bar.
  2. 2Select flags such as Global (g), Case-insensitive (i), and Multiline (m).
  3. 3Type or paste test strings into the text input area.
  4. 4Matches and indexed capture groups will be highlighted immediately.

Example Preview

Email Pattern

[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}

Frequently Asked Questions

Which regex dialect does this use?

It uses standard ECMAScript (JavaScript) regular expressions with full support for modern regex features.

Related developer Tools

JSON → Dart

Convert JSON payloads into clean, type-safe Dart classes for Flutter and Dart projects.

developerPopular

JSON Diff

Compare two JSON documents side-by-side with color-coded additions, deletions, and modifications.

developerPopular

JWT Decoder

Decode JSON Web Tokens locally to inspect headers, payload claims, and token expiration.

developerPopular