Skip to main content
ToolsHub

Regex Tester.

Test regex patterns with live match highlighting. Supports named groups, flags, and all modern JavaScript regex features.

Ad slot: horizontal
//

How to use

Enter a regular expression pattern.

Toggle flags (i, m, s) as needed.

Type or paste the test string — matches are highlighted live.

Frequently Asked Questions

Which regex flavour is used?

JavaScript (ECMAScript) regex via the built-in RegExp engine. Named capture groups (?<name>...) and lookbehind (?<=...) are supported in all modern browsers.

Why does my pattern match nothing?

Check your flags — the default is case-sensitive and single-line. Toggle the i flag for case-insensitive matching, or s for dot-matches-newline.

How do I use named groups?

Use the syntax (?<groupname>pattern). Named group values appear in a table below the highlighted matches.

Ad slot: horizontal