Home/Free tools/Regex tester
Free tool · .* Regex tester

See the matchbefore you ship it.

Live highlighting, a match table with groups, and the patterns Indian developers reach for most — mobile numbers, GSTIN, PAN, email, IP.

JavaScript (ECMAScript) syntax — the same engine as Node and browsers; most patterns also work in Python/PHP.

What it checks

Everything we would look at first on a client call.

Free, no sign-up, no email gate. If the report shows red, the fix is written next to it — and we are one click away if you would rather we did it.

  • Live highlighting and match count
  • Match table with index and capture groups
  • Reference patternsIndian mobile, GSTIN, PAN, email, IPv4
FAQ

Common questions

Why no matches with spaces in the number?
Strip spaces/dashes before validating: text.replace(/[\s-]/g,"").
PAN pattern?
[A-Z]{5}[0-9]{4}[A-Z] — fourth letter indicates holder type (P = individual, C = company).