Regular Expressions 101

Sponsors

Library entries

2
pcre

js function test

no description available
Submitted by anonymous - 9 years ago
2
pcre

vraagteken

no description available
Submitted by anonymous - 9 years ago
2
pcre

Basic Phone Number Verification

Verifies a phone number
Submitted by anonymous - 9 years ago
2
pcre

SQL select columns

no description available
Submitted by Phan - 9 years ago
2
pcre

.

no description available
Submitted by anonymous - 9 years ago
2
pcre

Get Currency SYMBOL/CODE

no description available
Submitted by Ka. - 9 years ago
2
pcre

Hello world example

no description available
Submitted by Fedir RYKHTIK - 9 years ago
2
pcre

takie

no description available
Submitted by sdfsdfdsf - 9 years ago
2
javascript

Error in Refex

no description available
Submitted by anonymous - 9 years ago
2
pcre

hghdgh

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

sample

no description available
Submitted by anonymous - 9 years ago
2
pcre

Split Date

no description available
Submitted by Arun Kumar Sekar - 9 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