Regex Tester

Test a JavaScript regular expression against sample text with selectable flags and match details.

FreeNo signupRuns in your browser

Enter your values

Do not include / delimiters
JavaScript flags such as g, i, m, s, u
Text to search

How to use Regex Tester

  1. Enter Pattern, Flags, Test text.
  2. Choose the options that match your task and leave genuinely optional fields blank when they do not apply.
  3. Select Calculate / Run and review the result panel.
  4. Check units, assumptions and any limitations shown on the page before using the result for an important decision.

About this tool

Test a JavaScript regular expression against sample text with selectable flags and match details. Use the form above to enter Pattern, Flags, Test text. The calculation or transformation runs locally in your browser.

Frequently asked questions

What does Regex Tester do?

Test a JavaScript regular expression against sample text with selectable flags and match details.

What information do I need?

The form is built around these inputs: Pattern, Flags, Test text.

Does my input get uploaded?

For this tool, the calculation or transformation runs in your browser. Your entered values are not intentionally sent to ToolboxKart for processing.

Is this tool free to use?

Yes. You can use this ToolboxKart tool without creating an account.

Related tools