Free Online Regex Tester

Test regular expressions with flags, match groups and highlighting. Input limits keep the browser responsive.

Input

Output

support@example.com sales@example.com
2 matches

Matches

  • support@example.com
  • sales@example.com

Safety

Complex expressions can freeze the browser. Input is capped at 10,000 characters and matches are limited to 1,000 to keep the page responsive.

Flags

  • g — global (all matches)
  • i — case insensitive
  • m — multiline

Regex Tester FAQ

Which regular expression flavour is used?

The tester uses JavaScript's built-in RegExp engine, so syntax and behaviour match what runs in browsers and Node.js. Lookbehind and named groups depend on the JavaScript version your browser supports.

Why is there a limit on input and matches?

Some patterns can backtrack catastrophically and freeze a tab. Input is capped at 10,000 characters and results at 1,000 matches to keep the page responsive.

Does it show capture groups?

Yes. Every match lists its captured groups, and the highlighted preview shows where each match occurs in the input text.