Back to Free Tools

FREE TOOLS

Regex tester

Match or replace with a timed, isolated JavaScript regex worker.

Text, JavaScript regular expression

JSON, UTF-8 text

Browser only

Your input and output are processed in this browser. They are not uploaded for processing. No account is required.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  1. Enter input text, a JavaScript regex pattern without surrounding slashes, and its flags.
  2. Choose Find matches or Replace matches; for replacement, enter literal replacement text.
  3. Run the tool to review or download JSON matches or the replaced text.

Examples

Pattern \b\w+\b with g matches words.

Limitations

At most 200,000 input characters and 1,000 matches.

750 ms worker limit; browser regex syntax is used.

Replacement is literal; no capture expansion.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool