Skip to content
ConvertMyStuff
Tool

Regex Tester

Test regular expressions with live match highlighting and capture groups.

Developer Tools

What this tool does

Test regular expressions against sample text with global and case-insensitive flags.

How to use

  1. Enter a regex pattern.
  2. Paste test text.
  3. Review matches and capture groups.

Examples

Email pattern

Input: pattern=[a-z]+@[a-z]+, text=hello@example.com

Output: 1 match at index 0

Simple email-like pattern match.

Common use cases

  • Debug regex for validation rules
  • Extract groups from log lines
  • Test patterns before code deploy

FAQ

Which regex flavor?

JavaScript RegExp syntax as used in browsers and Node.js.

Are capture groups shown?

Yes. Match list shows text, index, and groups.

Is my text uploaded?

No. Testing runs locally in your browser.

Browse all tools →

Last reviewed: 2026-05-23