Regular Expressions 101

Sponsors

Library entries

0
pcre

date format slicing

lookahead
Submitted by Kmna - 7 years ago
0
pcre

Number

no description available
Submitted by Jaromir Muller - 7 years ago
0
pcre

Apache log regex

Regex pattern for Apache log
Submitted by Sujan Thapa - 7 years ago
0
pcre

Testing (delete)

Testing (delete)
Submitted by Testing (delete) - 7 years ago
0
pcre

Regx5

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

url segments seperation

seperates url path and query
Submitted by r.abdollahi - 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