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

phone regex

Vote

2

Regular Expression
javascript

/
(?=.*?\d{3}( |-|.)?\d{4})((?:\+?(?:1)(?:\1|\s*?))?(?:(?:\d{3}\s*?)|(?:\((?:\d{3})\)\s*?))\1?(?:\d{3})\1?(?:\d{4})(?:\s*?(?:#|(?:ext\.?))(?:\d{1,5}))?)\b
/
gi

Description

Loading markdown...
Submitted by Mélissa Dumont - 8 years ago