Regular expressions

Password

?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$

Passwords will contain at least (1) upper case letter
Passwords will contain at least (1) lower case letter
Passwords will contain at least (1) number or special character
Passwords will contain at least (8) characters in length
Password maximum length should not be arbitrarily limited

^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$

Must be at least 8 characters , 
contain at least one lower case letter, 
one upper case letter 
and one digit

email

[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}

phone number

^[+]?[()/0-9. -]{9,}$

^[0-9]{8}$

DIČ

^[a-zA-Z]{2}[0-9]{8,10}$

PSČ

^[0-9]{5}$

wwww page

^((http:|https:)//[_a-zA-Z0-9.-]+.[a-zA-Z]{2,4}(/{1}[-_~&=?.a-z0-9]*)*)$

^[0-9]{6}/?[0-9]{3,4}$
programming/csharp/regularexpressions.txt · Last modified: 2018-06-21 19:48 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0