Regular Expression Tester

Check a regular expression against sample text.

Enable JavaScript for interactive processing. You can read the instructions, limits, and FAQs below without it. Files are processed only in your browser.

Regular Expression Tester User Guide

Test JavaScript regular expressions in a worker and list matches. Processing stays in your browser; review the result before use.

How to use

  1. Enter data and choose options.
  2. Start processing and review the result.
  3. Copy the result or download a new file.

Formats and limits

  • Each input is limited to 100,000 UTF-16 code units; individual tools have additional format and range limits.
  • Text is limited to 20,000 and pattern to 1,000 code units. Worker execution times out after 1 second; up to 100 matches are listed.
  • Processing stays on your device; leaving the page clears the current session.

Output

Displays text that can be copied or downloaded as TXT.

Frequently asked questions

Will the original data be changed?

No. The result is separate; save it before leaving.

The file name and content are only processed in your browser and are not transmitted to the server. The original file will not be overwritten. Please export the required results before leaving the tool.