IFSC code format explained
An IFSC is eleven characters. The first four letters identify the bank. The fifth character is always the digit zero, reserved by RBI for future use. The last six characters identify the branch and can be letters or digits. There is no checksum, so unlike an IBAN, a mistyped branch code produces another well-formed IFSC rather than an invalid one.
That is why format validation catches far less for IFSC than for IBAN. It catches the wrong length, digits in the bank code, and above all the letter O in fifth position. It cannot catch a wrong but well-formed branch.