Regular Expressions 101

Sponsors

Library entries

1
javascript

JavaScript Percentage Validation

no description available
Submitted by rat - 7 years ago
1
javascript

email validation regex

no description available
Submitted by parul - 7 years ago
1
javascript

Parsing a host from a URL

no description available
Submitted by Alex LaFroscia - 7 years ago
1
javascript

Match URL segment

no description available
Submitted by anonymous - 7 years ago
1
javascript

no description available
Submitted by anonymous - 7 years ago
1
javascript

File extention

Extract file extention from URL
Submitted by anonymous - 7 years ago
1
javascript

Strip Commet

Strip comments with /* ... */ or // ...
Submitted by Willy - 7 years ago
1
javascript

PersianDate

no description available
Submitted by Nasehi - 7 years ago
1
javascript

Property Search

no description available
Submitted by Churanos - 7 years ago
1
javascript

Button Online State Regex

no description available
Submitted by anonymous - 7 years ago
1
javascript

Units RegExp

no description available
Submitted by Javier Matusevich - 7 years ago
1
javascript

^([A-Z]{3})$

^([A-Z]{3})$
Submitted by anonymous - 7 years ago

Regular Expression For Date

Vote

2

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 - 8 years ago