Skip to main content
Toolsiva

Free online tool

Regex Tester

Test regular expressions against sample text with flags and match details.

Enter values to begin.

How to use this tool

  1. 1. Add your inputEnter or paste the data you want to work with.
  2. 2. Review the live resultThe tool updates automatically as your input changes.
  3. 3. Copy the resultCopy the generated output when it is ready.

Frequently asked questions

Which regex flags are supported?

The tool supports common JavaScript flags including global, case-insensitive, multiline, dotAll, Unicode and sticky.

Can it show captured groups?

Yes. Each match includes its full value, index and captured groups when available.

Is my sample text uploaded?

No. The regex and sample text are processed locally in your browser.

Tool guide

About Regex Tester

How Regex Tester works

Tests a regular expression against sample text and shows matched substrings.

Try this

Try a simple digit-matching pattern and compare global matches.

Before using the result

Complex expressions can use significant CPU; avoid untrusted high-cost patterns.

Continue working

Related tools

View all Developer Tools →