Regex Tester

Try a regular expression against sample text and list every match with its index and capture groups, or the exact syntax error.

Frequently asked questions

Which flags are supported?
g, i, m, s, u and y.
Why do I sometimes get fewer matches?
Without the global flag the list shows only the first match.

Related tools