Regex Tester

Test regular expressions in real-time with live match highlighting.

100% Free Forever
//
12 matches
Test your regex here. Match words and numbers like 123 or hello.

Free Regex Tester & Builder

Test regular expressions in real time with live match highlighting. Debug patterns for JavaScript, Python and other regex engines.

How to use this tool

  1. 1

    Enter your regex pattern

    Add the pattern and any flags (g, i, m).

  2. 2

    Paste test text

    See live highlights of every match.

  3. 3

    Adjust until it matches what you need

    Errors are shown if the regex is invalid.

Pro tips

  • Use 'g' flag for all matches; without it, only the first match is found.

Frequently asked questions

Which regex flavor is used?

Standard JavaScript regex — close to PCRE in most cases.

Related Tools

We use minimal cookies for site preferences, aggregated analytics and advertising. Your files are always processed in your browser and never uploaded. Privacy Policy