Skip to main content
Regexflux

Indian Phone Number

beginner

Matches Indian mobile numbers with optional country code.

phoneindiamobilevalidation

Pattern

/(?:\+91[\s-]?)?[6-9]\d{9}/g

Try It

0 of 6 strings matched

Explanation

Matches Indian mobile numbers starting with 6-9 (valid mobile prefixes) with exactly 10 digits total. Optional +91 country code.

Test Strings

Matching

  • +91 9876543210
  • 9876543210
  • +91-8765432109

Non-matching

  • 1234567890
  • +91 1234567890
  • 12345

Language Compatibility

LanguageSupport
JSFull support
PYTHONFull support
JAVAFull support
PHPFull support
GOFull support

Code Snippets

const regex = /(?:\+91[\s-]?)?[6-9]\d{9}/g;
const text = "your text here";
const matches = text.match(regex);
console.log(matches);

Related Patterns