Regex Tester

Test regular expressions against your text and see every match, its position and capture groups in real time.

Frequently asked questions

Which regex flavor is supported?

The JavaScript engine in your browser — the same syntax used in JS, many editors and most web frameworks.

What do the flag toggles mean?

g = find all matches, i = ignore case, m = ^ and $ match line breaks, s = dot matches newlines.

Is my text uploaded?

No. The test runs entirely in your browser.