Regular Expressions 101

Sponsors

Library entries

0
javascript

Date expression

yyyy-mm-dd
Submitted by Alan - 7 years ago
1
pcre

minimum 0.5

bitcoin/ ether
Submitted by anonymous - 7 years ago
1
python

rocola

for #regex
Submitted by ElGatoSaez - 7 years ago
1
pcre

first try

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

Check phone number

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

zepit multiline

no description available
Submitted by antoine - 7 years ago
0
pcre

Jade - parse includes

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

Country Code

no description available
Submitted by SB - 7 years ago
0
pcre

Domain Name Validation

no description available
Submitted by Vinay - 7 years ago
1
pcre

Instagram Access Token

no description available
Submitted by anonymous - 7 years ago

detect if input is valid domain name

Vote

0

Regular Expression
pcre

/
^(?:(?!\-)(?:(?!\:\.)[a-zA-Z0-9\-])*[^-]\.)*(?:(?!\-)(?:[a-zA-Z0-9\-]*(?<=[a-zA-Z])[0-9]*)+(?<!\-))$
/

Description

Loading markdown...
Submitted by nnnn20430 - 7 years ago