Complete Form Validation in JavaScript using Regular Expression in Hindi [ REGEX ]

Описание к видео Complete Form Validation in JavaScript using Regular Expression in Hindi [ REGEX ]

Welcome, We will see complete form validation using regular expression in javascript in Hindi. Form validation in javascript using regular expression in Hindi.
Form validation regex (regular expressions)
The password string will start this way
(?=.*[a-z]) The string must contain at least 1 lowercase alphabetical character
(?=.*[A-Z]) The string must contain at least 1 uppercase alphabetical character
(?=.*[0-9]) The string must contain at least 1 numeric character
(?=.*[!@#\$%\^&\*]) The string must contain at least one special character, but we are escaping reserved RegEx characters to avoid conflict
(?=.{8,}) The string must be eight characters or longer


A regex is typically delimited by a pair of forward slash, in the form of /.../.
The leading ^ and the trailing $ are known as position anchors, which match the beginning and ending of the input string, respectively. As a result, the entire input string shall be matched, instead of a portion of the input string. Without these position anchors, the regex can match any part of the input string, i.e., with leading and trailing sub-string unmatched.

we can also use /^\d+
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.

Don't Forget to Follow me on all Social Network,

Instagram Link:   / vinodthapa55  
Facebook Link:   / vinodthapa55  
Twitter Link:   / vb55thapa  
Youtube Link:    / @thapatechnical  
Facebook ThapaTechnical Page Link:   / vinodbahadurthapa  

Комментарии

Информация по комментариям в разработке