Regex Tester

Test regular expressions against sample text.

//
Matches

Enter a pattern above to see matches.

What this tool does

This tool helps you test regular expressions against input text. It is useful for checking pattern behavior, debugging matches, and verifying flags.

How to use

Enter a regex pattern in the /pattern/ field and optionally set flags (e.g. g, i, m). Paste or type the text to test in the left panel. Matches update live in the right panel.

Example

Pattern
\d+
Text
Order 123 confirmed
Match
123