Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

ifsc code yup validation

Yup.string()
      .required("IFSC Code Is Required")
      .test(
        "IFSC Code",
        "IFSC Code must be of length 11",
        (value) => value?.length === 11
      )
      .matches(
        /^[A-Za-z]{4}[a-zA-Z0-9]{7}$/,
        "First 4 characters must be alphabets and last 7 characters must be numbers"
      ),
Comment

PREVIOUS NEXT
Code Example
Javascript :: js click on button 
Javascript :: difference between var and let 
Javascript :: Array Foreach Loop 
Javascript :: javascript collection to array 
Javascript :: how to use the onload event n vue js 
Javascript :: react bootstrap carousel caption placement top 
Javascript :: flutter build runner json serializable 
Javascript :: js get html content 
Javascript :: simple kick command discord.js v12 
Javascript :: javascript calculate percentage to pixel 
Javascript :: javascript storage get set item 
Javascript :: change root color js 
Javascript :: js remove value input 
Javascript :: hwo to make ana array of prime numbers in javascript 
Javascript :: javascript get phone number from string 
Javascript :: javascript convert object to querystring 
Javascript :: email regex pattern input css 
Javascript :: check every value in array javascript 
Javascript :: patch request javascript 
Javascript :: js array comprehension 
Javascript :: local database with javascript 
Javascript :: angularjs change route js 
Javascript :: get left position based on container jquery 
Javascript :: short ajax get method jquery 
Javascript :: find highest value in array javascript 
Javascript :: group all items with same name js 
Javascript :: array filter 
Javascript :: next router 
Javascript :: get value for radio button in jquery label 
Javascript :: jquery set select value 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =