Indian Financial System Code Regular Expression

A regular expression to match and validate IFSC (Indian Financial System Code) code in India, which is an 11-digit alpha-numeric code that is unique for bank branches that offer online money transfer options.

/^[A-Za-z]{4}[a-zA-Z0-9]{7}$/g

Matches:

  • ICIC0001359
  • HDFC0000003
  • CITI0000003

Non-matches:

  • 00000001359
  • ICIC000135
  • 0000ABCDEFG

See Also:

Regex Is Copied!