Free Developer Tool

Regex Tester

Test regular expressions against your text with live highlighting. See matches, flags and capture groups instantly.

100% Free No signup Runs in your browser No uploads

Test patterns live

Type a pattern and watch matches highlight instantly, with flags, groups and one-click copy.

Quick patterns

Matches: 0

Frequently asked questions

Which regex flavor does this tester use?

JavaScript (ECMAScript) flavor. Flags g, i, m and s are supported. Note that some PCRE features, like lookbehind in very old browsers or atomic groups, are not available in JavaScript.

Why does my pattern show no matches?

First check the red error line: an invalid pattern shows the exact engine error. Otherwise verify your flags, remember that g finds all matches while without it only the first counts, and escape special characters like dots and backslashes.

Is my test data private?

Yes. Patterns and test text are processed locally in your browser. Nothing is sent to any server, so sensitive log data stays on your device.

Preview

Regex Tester tool preview
Live preview of the Regex Tester tool running in your browser. Your data never leaves your device.

Related free tools