How to match youtube links?
Matching youtube urls and their IDs
For the best user experience, you’ll probably want to use multiple regular expressions, to ensure that you can provide helpful error responses to the user when their password doesn’t meet requirements.
If this matches, the password is between 8 and 40 characters.
If this matches, the password contains an uppercase letter.
If this matches, the password contains a lowercase letter.
If this matches, the password contains a number.
If this matches, the password contains a special character.