Regular Expressions 101

Sponsors

Library entries

1
javascript

Property Search

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

US Currency Format

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

PersianDate

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

password 1upper 1lower 1number 1specialcharater

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

password 1upper 1lower 1number 1specialcharater

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

Website

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

Strip Commet

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

File extention

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

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

Match URL segment

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

Parsing a host from a URL

no description available
Submitted by Alex LaFroscia - 7 years ago

Valid Telephone Number

Vote

10

Regular Expression
javascript

/
(^(1?)(\s?)([\s]?)((\(\d{3}\))|(\d{3}))([\s]?)([\s-]?)(\d{3})([\s-]?)(\d{4})+$)
/
gmi

Description

Loading markdown...
Submitted by Adam Recvlohe - 7 years ago