How to validate IFSC Code in input form

I want to put the validation in input text from the user.

Where the user should put:

  1. It should be 11 characters long.
  2. The first four characters should be upper case alphabets.
  3. The fifth character should be 0.
  4. The last six characters are usually numeric, but can also be alphabetic.

For Example “SBIN0125620”

I think one of the ways to do this checking is to make a plugin (using basic JavaScript) to test it.

Samson @ Plugin Developer
Plugin Page
Plugin Forum

Regex:
^[A-Z]{4}0[A-Z0-9]{6}$

Found it here - How to validate IFSC Code using Regular Expression - GeeksforGeeks

And validate it like this Input Field Validation by regex

This topic was automatically closed after 70 days. New replies are no longer allowed.