Eternalsix

Regex Tester

Test a regular expression against text and see every match.

How to use

Type your pattern (without the slashes), toggle the flags you need, and paste your test text. Matches and capture groups appear live below.

About this tool

Write a regular expression, toggle flags, and test it against any text — matches and their capture groups are listed live. Great for debugging patterns before you paste them into code. It runs entirely in your browser using the native JavaScript regex engine.

What you can use Regex Tester for

Frequently asked questions

Which regex flavor is used?

The native JavaScript (ECMAScript) regular-expression engine, so results match what you'll get in Node.js and browser code.

What do the flags mean?

g = find all matches, i = case-insensitive, m = ^ and $ match line boundaries, s = dot matches newlines, u = full Unicode. Toggle them with the checkboxes.

Is my pattern or text uploaded?

No — everything is evaluated locally in your browser.

More tools

Browse all →
Base64 Encode / Decode
Encode text to Base64 or decode it back — instantly, in your browser.
Basic Auth Header Generator
Turn a username and password into a Basic Authorization header.
Binary to Text Converter
Convert text to binary and binary back to text.
Case Converter
Convert text between camelCase, snake_case, kebab-case, and more.
Color Converter
Convert colors between HEX, RGB, and HSL — with a live swatch.
Cron Explainer
Decode a cron expression into plain English and see its next runs.