Regular Expressions 101

Sponsors

Library entries

1
javascript

word matcher

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

IME14

Remove RJN.P and LALT.OQ
Submitted by HZ - 7 years ago
1
javascript

AD12345678

Text with prefix AD and postfix 8 munbers only
Submitted by pratheeshps - 7 years ago
1
javascript

camera

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

Basic URL

Matches basic URLs and fails on things that aren't
Submitted by anonymous - 7 years ago
1
javascript

meraki device name

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

moj test regex

regex sa vezbi
Submitted by Mladen - 7 years ago
1
javascript

dni con letra

dni con letra
Submitted by cda - 7 years ago
1
javascript

UK Postal Code

Match UK Postal Code
Submitted by Michael R - 7 years ago
1
javascript

gps 103

gps103 gprs communication
Submitted by anonymous - 7 years ago
1
javascript

FDQN

no description available
Submitted by Pratheesh ps - 7 years ago
1
javascript

Get Email Address from string

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

C# Generic Parameters

no description available
Submitted by andy cunningham - 7 years ago

Ultimate URL/IP validator

Vote

2

Regular Expression
javascript

/
^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$
/
i

Description

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