Skip to content
Free Online Tools
All Tools Text Tools Developer Tools Generators Converters Calculators Data & Converters Web & Design Encoders & Ciphers Networking Games About Blog News

Regex Tester

Developer Tools 100% in-browser Popular

Enter a regular expression and a test string to see live matches and capture groups.

match(es)

How to use the Regex Tester

  1. 1 Type your regular expression and flags.
  2. 2 Paste the text to test against.
  3. 3 See every match, its index and capture groups.

About the Regex Tester

Regular expressions are powerful but easy to get wrong. This tester runs your pattern against sample text and lists every match and group so you can refine it quickly.

It uses the browser’s native JavaScript regex engine and runs entirely on your device.

Frequently asked questions

Which flavor of regex?

JavaScript (ECMAScript) regular expressions, with flags like g, i, m and s.

Are capture groups shown?

Yes, each match lists its position and any capture groups.

Related tools

JSON Formatter & Viewer Paste JSON to beautify, validate and explore it in a live collapsible tree — with search, expand/collapse and JSONPath.
Slug Generator Turn a title or any text into a clean, URL-friendly slug.
Word Frequency Counter See how often each word appears in your text, ranked by frequency.

More from us

Recently used