Pocket Dev Tools
Search by task or app nameSearchContact us
Pricing

Regular expression tester

Choose a preset or enter a JavaScript regular expression, then inspect its matches, positions, captures and named groups.

d · g · i · m · s · u · v · y

Up to 1,000,000 characters.

How to use

  1. Input

    Enter a pattern without enclosing slashes, choose JavaScript flags, and add text to test. Select Test expression.

  2. Output

    Review the result, then copy it or save the file.

Background

Regular expression tester

Patterns use the browser's JavaScript RegExp syntax. Global matching is controlled by g; positions are UTF-16 offsets. Pattern evaluation runs in a separate Worker and is stopped after one second. Up to 1,000 matches are returned.

How input and results are handled

Input
Input is processed in your browser.

Current settings

Search tools