Nightroll

Free Regex Tester & Explainer

Type a pattern and some text to see the matches and what the pattern means.

//

Matches

What the pattern means

    How to make a regular expression test

    1. Type the pattern and tick the flags.
    2. Paste the text to search.
    3. See every match and group, and try a replacement.

    Frequently asked questions

    Which regex flavour is this?
    JavaScript (ECMAScript), as used in browsers and Node.js. Most simple patterns work the same in other languages.
    Is my data stored?
    No. Everything happens in your browser and your inputs are saved only on this device.