Regex Tester

Enter a regular expression and flags to highlight matches in the test string below in real time and see the match list. All processing happens in your browser, so your input is never sent out.

How to use

Enter a regex and flags (g, i, m, s, etc.) and a test string below; matches are highlighted in yellow and the list of matched strings appears.

Frequently asked questions

What regex syntax is supported?

It uses the browser's JavaScript regular expressions (RegExp) directly. The g, i, m, s, u, and y flags are supported.

Are the values I enter sent to a server?

No. All processing happens inside your browser, and the regex and text you enter are not sent to any external server.