redtools.

Regex Tester

Test a JavaScript pattern and inspect its matches.

  • Free
  • No sign-up
  • Runs in your browser

How to use Regex Tester

Regex Tester: Text to test, Pattern (without slashes), Flags. Press Process, review the result and stated limits, then copy or download. Nothing runs automatically.

Formula and assumptions

Test a JavaScript pattern and inspect its matches. Input is not executed as code.

Example

Example input: Hello 123 world 456. The editable workspace demonstrates the selected transformation. Example output: [ { "index": 6, "match": "123", "groups": [] }, { "index": 16, "match": "456", "groups": [] } ]

Limits and output

JavaScript regular expressions. Worker is terminated on timeout or Cancel; maximum 1,000 reported matches. Invalid patterns/flags produce errors. Builder escapes literals only; it does not infer patterns from examples. Maximum 200,000 UTF-8 input bytes per field and 1 MB output. Processing can be cancelled.

Sources and review

Tool methods reviewed 7 October 2026. Read the stated input and output limits.

Common questions

Which regex dialect is used?

The tool uses JavaScript regular expressions. Features and escape rules can differ from PCRE, Python or another runtime.

Why did processing time out?

Some patterns become extremely expensive on particular text. The worker is cancelled after its deadline; simplify the pattern or shorten the input.

Good to know

RedTools is an early version of an everyday utility workspace. Image, text, calculation, and developer inputs are processed in your browser.

Your favorites, recently used tool IDs, and theme choice are stored on this device. Tool inputs are not automatically saved. Invoice drafts are saved on this device only when you choose Save draft locally. Hosting can receive ordinary page requests; this app includes no analytics.

Image and PDF tools, including compression and conversion, run locally in your browser.

Icons: Solar by 480 Design · CC BY 4.0. Components: Be UI and shadcn/ui.

↑↓ to move · Enter to open · Esc to close