OBGNAUH TOOLS Free online tools

Developer

Regex Tester

Test regular expressions and inspect matches in real time.

Live Launched 2026-12-06 Local processing
Back to category

Regular expression tester

Ready to test

Flags: g global, i ignore case, m multiline, s dot-all, u Unicode, y sticky.

Highlighted preview
Matches will be highlighted here.
Match details

Test text is limited to 50,000 characters and the first 200 matches are shown. Complex patterns can be slow; avoid unknown regex on production data.

How to use this tool

Test regular expressions locally with highlighted matches, positions and groups.

  1. Enter a pattern and flags such as g, i or m.
  2. Paste test text and press Run test.
  3. Review the highlighted preview and match details, then copy all matches.

Frequently asked questions

Why do I only see one match?

Without the g flag, a regular expression returns only the first match. Add g to test globally.

Are named groups supported?

Yes. Match details show numbered groups such as $1 and $2, plus named group values.

Can a complex regex freeze the page?

Possibly. The tool limits text to 50,000 characters and 200 matches, but cannot fully prevent catastrophic backtracking. Avoid complex patterns on unknown input.

MORE TOOLS

Related tools

URL Encoder

Percent-encode and decode URL components.

LiveDeveloper

UUID Generator

Generate UUID v4 identifiers in batches.

LiveDeveloper