Click here to Skip to main content
13,347,671 members (53,659 online)
Rate this:
 
Please Sign up or sign in to vote.
IFSC code:ANDB0001478
Help me on javascript validation.first 4 are alphabets and remaining 7 are digits.mamimum length is 11.
how to validate on onkeypress event.
Posted 25-Sep-14 5:55am
Vijay M274
Updated 25-Sep-14 20:30pm
v3
Comments
Vijay M 26-Sep-14 1:27am
   
how to validate Indian IFSC code(SBIN0015916) code on key press event in javascript.These are the rules for validating first 4 are alphabets and last 6 are numerics.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Please try this[^]

Check this may be this would help you.
Thanks
:)
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

Try using Regular expression as follows

[A-Z|a-z]{4}[0][\d]{6}$


find more here : http://regexlib.com/REDetails.aspx?regexp_id=3780[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Not a question. Not clear what help would you need. Please see:
http://www.w3schools.com/js/js_regexp.asp[^],
http://en.wikipedia.org/wiki/Indian_Financial_System_Code[^].

—SA
  Permalink  
Comments
Vijay M 26-Sep-14 1:27am
   
how to validate Indian IFSC code(SBIN0015916) code on key press event in javascript.These are the rules for validating first 4 are alphabets and last 6 are numerics.
I think now it is clear to you.
   
Thank you, but is simply means that you should accept my answer formally (or both of my answers), follow the advice and stop re-posting. (Re-posting is considered as abuse.)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web03 | 2.8.180111.1 | Last Updated 8 Nov 2017
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100