Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

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

Follow
Thapa Technical

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
(?=.*[az]) The string must contain at least 1 lowercase alphabetical character
(?=.*[AZ]) The string must contain at least 1 uppercase alphabetical character
(?=.*[09]) 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 substring 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  

posted by fiuggino7q