Home · Developer · Regex tester

Regex tester

The sample looks for digits in a short sentence. Change the pattern and run again.

    Recent

    Files you add show up here, on this device.

    R runs. Esc cancels. D downloads.

    Ready when you are.

    Before
    —
    After
    —

    Try next

    How Regex tester works

    1. Type the pattern. The sample is \d+.
    2. Paste the text, or drop a file over the field.
    3. Run. Each row shows the match index and any capture groups.

    Flags are the JavaScript set g, i, m, s, u, and y. A global flag is added when you omit g, so every match is listed rather than only the first.

    Questions

    Does Regex tester upload the file?

    No. Regex tester runs in this browser. Nothing is uploaded.

    What does Regex tester produce?

    Flags are the JavaScript set g, i, m, s, u, and y. A global flag is added when you omit g, so every match is listed rather than only the first.

    How is Regex tester ahead of the usual version?

    4 options are on the page before you run, and Run is the R key.