BrokenTools
EN

Regular expression tester (JavaScript)

Test a regular expression on your own text. Matches are highlighted and every group is listed.

    How to use it

    1. Type the pattern and the flags.
    2. Paste the text you want to search.
    3. Read the matches. Add a replacement to see the result.

    Questions

    Which regex flavour is this?

    The one built into your browser: JavaScript. It is close to most others but not identical.

    What do the flags mean?

    g finds all matches, i ignores letter case, m treats each line separately, s lets the dot match a new line, u turns on full Unicode support.

    Is my text uploaded?

    No. Everything runs in your browser.