Skip to main content
Utilnivo

Developer

Utilnivo

Regex Tester

Test regular expressions against sample text.

No registration
  • On your device

Browse more in Developer or all tools.

Private on your device

Your information stays on your device and is not uploaded.

Enter a JavaScript regular expression, choose flags, and paste sample text to see live matches with indices, capture groups, and highlighted text. Matching works on your device.

How to use this tool

1. Enter a regex pattern. 2. Enable flags such as global or ignore case as needed. 3. Paste or type a test string. 4. Review highlighted matches and the match list with groups. 5. Copy matches from the results panel if needed.

Worked example

Example: pattern \d+ on text Order 42 and 7 finds 42 and 7 as separate matches with the global flag enabled.

How it works

Tests a regular expression against sample text in real time. Toggle flags (global, ignore case, multiline, dotAll, unicode) and inspect matches with captured groups highlighted.

Limitations

Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.

Privacy and file handling

Your data stays on your device and is not uploaded.

FAQ

Frequently asked questions

Which regex flavor is used?

Patterns use JavaScript regular expressions, including flags for global, ignore case, multiline, dot all, and unicode.

Are capture groups shown?

Yes. Numbered and named capture groups are listed for each match, along with the match index and length.

Is my text stored?

No. Your information stays on your device and is not saved.

Part of these workflows

This tool is one step in a longer job. Jump straight to your step or open the full workflow guide.

Page last reviewed: