Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Programming-Interview-Preparation/Regular-Expression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Regular-Expression

Regular Expression to Check

Expression Description
"^(?=.[A-Za-z])(?=.\d)[A-Za-z\d]{8,}$" Minimum eight characters, at least one letter and one number
"^(?=.[A-Za-z])(?=.\d)(?=.[@$!%#?&])[A-Za-z\d@$!%*#?&]{8,}$" Minimum eight characters, at least one letter, one number and one special character
"^(?=.[a-z])(?=.[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$" Minimum eight characters, at least one uppercase letter, one lowercase letter and one number
"^(?=.[a-z])(?=.[A-Z])(?=.\d)(?=.[@$!%?&])[A-Za-z\d@$!%?&]{8,}$" Minimum eight characters, at least one uppercase letter, one lowercase letter, one number and one special character
"^(?=.[a-z])(?=.[A-Z])(?=.\d)(?=.[@$!%?&])[A-Za-z\d@$!%?&]{8,10}$" Minimum eight and maximum 10 characters, at least one uppercase letter, one lowercase letter, one number and one special character
"^(?=.[\p{Ll}])(?=.[\p{Lu}])(?=.\d)(?=.[$@$!%?&])[\p{Ll}\p{Lu}\d$@$!%?&]{6,}" Minimum 6 characters at least 1 Uppercase Alphabet, 1 Lowercase Alphabet, 1 Number and 1 Special Character
"^(?=.[A-Za-z])(?=.\d)[A-Za-z\d!$%@#£€*?&]{8,}$" Minimum 8 characters at least 1 Alphabet and 1 Number with Optional Special Chars
Email Address "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$"

About

A regular expression (regex or regexp for short) is a special text string for describing a search pattern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy