Developer tools TOOL

Regular expression tester

Inspect matches and groups in a JavaScript regular expression.

01

Enter your text

On-device processing
Input · Up to 2 MB
02

Output options

Uses JavaScript regular expressions. You can cancel long operations.

No account. No uploads.

Regular expression tester · How to use

Inspect matches and groups in a JavaScript regular expression.

  1. Enter your text
  2. Set your options
  3. Convert
  4. Inputs and results are not saved automatically. Copy or download the results you need.

Example

Apply \d+ with the g flag to one 123 two 456 to match 123 and 456.

Things to know

Uses JavaScript regular expressions. Syntax can differ from PHP and Python; long-running tasks can be cancelled.

Output options

Regular expression
Check the input format.
Regular expression flags
Check the input format.

Your files and results are never sent to a server. Everything is processed in this browser.

Save only the tools you need.