Indian Postal/Pin/Zip Code Regular Expression

Category: Numbers

A regular expression to match Postal/Pin/Zip codes in India, which consists of a 6-digit number with or without spaces.



  • 300500
  • 300 500


  • 12345
  • 12 345
  • abcdef

See Also:

Rate This Regex
User Review
0 (0 votes)

Expression Flags

Flags Description
i Ignore case sensitive.
g Allows global search.
m Allows multiline search.