Skip to content
Developer tool · Free · No sign-up

Phone Number Regex Tester

Phone numbers come in dozens of formats: '+91 98765 43210', '+919876543210', '9876543210', '098765 43210', etc. Start from the India or E.164 preset and paste your own numbers to verify it handles the formats you care about and rejects the ones you don't.

Rate this tool

Regex Studio

Pattern · flags · live matches · groups · replace

Runs in your browser Free · No sign-up

Pattern and text

g

3 lines · 147 chars

Flags

Uses the JavaScript RegExp engine. A 2 second limit guards against catastrophic backtracking.

Common patterns

Shows the text after String.replace. Use $1, $2 or $<name> for groups.

Matches

Matches
0
Groups
0
Flags
g
Highlighted text
Hello world! Contact us at support@example.com or sales@company.org.
Visit https://clevertools.in for free tools.
Call +91 98765 43210 for support.
Match details

Type a pattern or pick a common one. Matches appear here as you type.

No sign-up needed Nothing leaves your device Live as you type JavaScript RegExp engine
Flags to toggle
6
Ready-made patterns
9
Runaway pattern limit
2s
Patterns sent anywhere
0
Runs in your browserYour pattern and text are tested with the browser's own RegExp engine. Nothing is sent.
The real JS engineThe same RegExp your JavaScript and Node.js code use, so a match here matches there.
Runaway guardA 2 second limit and a 10,000 match cap stop a bad pattern from freezing the results.
Free, no sign-upNo account, no limits. Nine common patterns ready to load with one click.
What's next

More tools for text and code

Tools that pick up where this one leaves off.