1-Byte Developer Tools / Regex

Regex Builder & Tester

Build and test regular expressions with instant feedback, match highlighting and captured groups, free in your browser.

Runs entirely in your browser · subject text never leaves your device.
Plan: Free Full features included free: extended subject limits and capture group breakdowns. Sign in to your account
Pattern & subject
Pattern: 0 chars Subject: 0 chars

We will highlight each match in the subject and list captured groups on the right.

Quick tips

  • Use ^ and $ to anchor your pattern to the start or end of the line or string.
  • Wrap parts in brackets ( ) to create capturing groups – we will show them per match.
  • Prefer explicit quantifiers like {2,5} over endless .* where you can.

Higher subject limits and more matches are available to keep bigger logs workable.

Matches & breakdown
Ready to run. 0 matches

Subject with matches highlighted

Each match is wrapped in a coloured pill so you can see where the pattern is actually firing.

Paste some subject text and run the regex to see matches highlighted here.

Matches & captured groups

We list each match with its index and any capturing groups. Use this to confirm your pattern is catching exactly what you think it is.

No matches yet. Run the regex to see results here.

Pattern summary

When you run a pattern, we will echo it here with its flags and some basic hints about anchors and potential pitfalls.

Higher subject and match limits are enabled. If a pattern still feels slow, consider tightening your quantifiers or scoping the subject down first.