Home / Regex Tester

Regex Tester

Type a pattern, paste sample text, see every match highlighted live.

No pattern yet

Writing a regular expression that actually matches what you intend is easier with live feedback — test your pattern against real sample text and see matches highlighted instantly as you type.

How it works

  1. Type a patternEnter your regular expression and any flags you need.
  2. Paste sample textMatches highlight live as you type in either field.
  3. Check the match countSee exactly how many matches your pattern finds, and where.

FAQ

Is my text sent anywhere?

No — matching runs entirely in your browser using JavaScript's native regex engine.

What flags are supported?

Standard JS regex flags: g (global), i (case-insensitive), m (multiline), s (dotall), u (unicode).