Runs locally

Regex Tester

Test a regular expression against text and inspect matches instantly.

Input is processed in your browser and is not uploaded.

Output

Results appear here.

Use this regex tester to validate patterns before placing them in code, data cleanup workflows, redirects, or search filters. It supports JavaScript regular expression flags. Lightweight, mobile-friendly, and built for quick repeat use.

FAQ

Which regex engine does this use?+

It uses the JavaScript regular expression engine available in your browser.

Can I use flags?+

Yes. Add flags such as g, i, m, s, u, or y in the flags field.

Why are there no matches?+

The pattern may not match the sample text, or the flags may change how matching works.