Local StudioDEVELOPER TOOLS Regex Tester
100% Offline Download Tool Tools Catalog

Regex Tester

Test JavaScript patterns and inspect the offsets and captures for each match.

Test Text

Pattern and Flags

Enter the pattern without slash wrappers.

Flags

Instructions

  1. Type or paste test text, select a local UTF-8 file, or select Open Sample.
  2. Enter a raw JavaScript pattern without slash wrappers. Choose the flags you want. Global matching is selected by default.
  3. Select Test Pattern. To stop an active test, select Cancel. Editing the pattern, flags or text clears the previous result.
  4. Review offsets and select a match number to inspect captures. Select Download JSON for the retained full values.

Raw JavaScript regular expressions with up to 4,096 UTF-16 code units, on text up to 2,097,152 code units. Matching uses a cancellable worker with a two-second deadline.

Security Check

Regex Tester

Test JavaScript regular expressions on your device.

  • Test Local TextOpen a UTF-8 text file or enter text directly.
  • Inspect Match OffsetsSee numbered and named captures, including unset and empty groups.
  • Cancel or DownloadInterrupt the worker or save the retained results as JSON.

Local Security Check

Checking This Tool

Checking the launch, browser policy, and resources.

    These checks cover this tool page. Website links open only when selected.

    File Access

    Reads only the text you choose or enter. Patterns, text and results stay on your device.