Skip to main content
Regex Tools
Popular
Recently added

Regex Tester

Test regular expressions with live match lists and capture groups.

Introduction

Regex Tester lets you experiment with JavaScript regular expressions in the browser. Inspect global matches, capture groups, and flag combinations without leaving your workflow.

Features

  • Live match listing
  • Capture group display
  • Flag helpers for i and m
  • Copy matches

How to use

  • 1
    Enter a regex pattern and optional flags.
  • 2
    Paste text to test against.
  • 3
    Review matches and groups below.

Example

Email-like tokens

Input
\b\w+@\w+\.\w+\b
Output
ada@example.com

Benefits

  • Use Regex Tester without installing a desktop app or browser extension.
  • Works well alongside Find & Replace and Email Validator for adjacent steps in the same workflow.
  • Results stay in this browser tab until you copy or download them.

FAQs

The browser’s JavaScript RegExp engine.

Use g to collect all matches. Without g, only the first match is shown.

No. Testing is local.

Pair Regex Tester with Find & Replace, Email Validator, Text Diff. See Related tools on this page.

Related guides

Regex Guide: Test Patterns Without the Guesswork

A practical regex guide for developers: how to test patterns safely, avoid catastrophic backtracking, and use browser tools to validate matches before shipping.


Developer resources