Choose your tool

DEVELOPER TOOL

Regular Expression Tester

List regex matches and capture groups in a worker with a time limit.

◇ Browser only
0 lines · 0 characters
Ready when you are
Your results will appear here.
Copy or download your result below.
LESS BUSYWORK, MORE DONE

Three steps. That’s it.

A useful toolkit for text, data, images and calculations.

  1. 01

    Add your input

    Choose a tool, enter values or select a file.

  2. 02

    Make it yours

    Adjust the options and run the action.

  3. 03

    Take the result

    Copy the result or download its file.

Regex tester online

Test a JavaScript regular expression against sample text. A worker time limit bounds a run; other regex engines may interpret the same pattern differently.

How to use it

Enter the source input or select Try example. Review Pattern, Flags. Select Run tool and inspect the result before copying or downloading.

Options and example settings

OptionChoices / valueExample default
PatternEnter a value\d+
FlagsEnter a valueg

Worked examples

Test a JavaScript regular expression against sample text.

Worked example — Regular Expression Tester

Settings: Pattern: \d+; Flags: g

Input:

Order 123, order 456

Output:

[
  {
    "index": 6,
    "match": "123",
    "groups": [],
    "namedGroups": null
  },
  {
    "index": 17,
    "match": "456",
    "groups": [],
    "namedGroups": null
  }
]

The example returns 2 top-level items in an array. Each item is a record; the first record contains “index”, “match”, “groups”, “namedGroups”.

Limitations and common mistakes

  • A worker time limit bounds a run; other regex engines may interpret the same pattern differently.

Frequently asked questions

How can I test a regular expression online?

Enter the source input or select Try example. Review Pattern, Flags. Select Run tool and inspect the result before copying or downloading.

Where is my input processed?

The bundled tool processes input in your browser. It does not upload tool input to a conversion service. Other site plugins, analytics, advertising and browser extensions may have separate behavior.

Useful next tools

Explore other tools

Open a tool below, use the search, or choose a category to browse its full collection.