Regular Expressions 101

Library entries

4
javascript

UK Postcode

no description available
Submitted by msyed - 7 years ago
5
javascript

Hello world !

no description available
Submitted by Fedir RYKHTIK - 10 years ago
5
javascript

Accept url without www

no description available
Submitted by anonymous - 9 years ago
5
javascript

MAC address

a mac address separated by dashes or colons.
Submitted by anonymous - 8 years ago
5
javascript

password 1upper 1lower 1number 1specialcharater

fjk@1Qaa$
Submitted by Anuswadh - 7 years ago
6
javascript

Password

no description available
Submitted by anonymous - 9 years ago
6
javascript

Email with + symbol

email that accepts the plus (+) symbol
Submitted by luckcheese - 8 years ago

Regular Expression for Date

Vote

1

Regular Expression
javascript

/
^(?:^(?:(?:(?:(?:(?:0?[13578]|1[02])[- /.]31)|(?:(?:0?[13-9]|1[0-2])[- /.](?:29|30)))[- /.](?:1[6-9]|[2-9]\d)\d{2})|(?:0?2[- /.]29[- /.](?:(?:(?:1[6-9]|[2-9]\d)(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))|(?:(?:0?[1-9])|(?:1[0-2]))[- /.](?:0?[1-9]|1\d|2[0-8])[- /.](?:(?:1[6-9]|[2-9]\d)\d{2}))$)$
/

Description

Loading markdown...
Submitted by Priyanka Khadilkar - 9 years ago