Regular Expressions 101

Sponsors

Library entries

-166
pcre

gfdgfsdgsfdg

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

link

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

ddasgfsfds

no description available
Submitted by fs - 9 years ago
-35
pcre

E-mail validation regex

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

your mom

aasdf
Submitted by your mom - 8 years ago
-22
pcre

г.москва

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

dd-mm-YYYY HH:mm:ss (year range 1000-2999)

no description available
Submitted by Ka. - 10 years ago
-10
pcre

need help

no description available
Submitted by sachin - 9 years ago
-9
pcre

test

no description available
Submitted by test - 9 years ago
-8
pcre

Regular exp to exclude a domain

to exclude one domain abc.com
Submitted by Sandy - 10 years ago
-7
pcre

hi

no description available
Submitted by asf - 8 years ago
-4
pcre

Twitter hashtags extractor

Extract hashtags from text
Submitted by anonymous - 9 years ago
-4
pcre

For telephone

This is for telephone pattern +1 123-123-1234
Submitted by kevin - 7 years ago
-4
pcre

IP Address Validation

List of possible IPs
Submitted by Paolo Carrasco - 7 years ago
-3
pcre

Browser regex

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

test2

no description available
Submitted by anonymous - 9 years ago

Ultimate url regex

Vote

0

Regular Expression
javascript

/
\b(?:(?: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]+)*(?:\.(?:com|org|net|int|edu|gov|mil|arpa|biz|info|mobi|app|name|aero|jobs|museum|travel|a[c-gil-oq-uwxz]|b[abd-jmnoq-tvwyz]|c[acdf-ik-orsu-z]|d[dejkmoz]|e[ceghr-u]|f[ijkmor]|g[abd-ilmnp-uwy]|h[kmnrtu]|i[delmnoq-t]|j[emop]|k[eghimnprwyz]|l[abcikr-vy]|m[acdeghk-z]|n[acefgilopruz]|om|p[ae-hk-nrstwy]|qa|r[eosuw]|s[a-eg-or-vxyz]|t[cdfghj-prtvwz]|u[agksyz]|v[aceginu]|w[fs]|y[etu]|z[amrw]|الجزائر|հայ|বাংলা|бел|бг|中国|中國|مصر|გე|ελ|香港|भारत|بھارت|భారత్|ભારત|ਭਾਰਤ|இந்தியா|ভারত|ایران|عراق|الاردن|қаз|澳门|澳門|мкд|مليسيا|мон|المغرب|عمان|پاکستان|فلسطين|قطر|рф|السعودية|срб|新加坡|சிங்கப்பூர்|한국|ලංකා|இலங்கை|سودان|سورية|台湾|台灣|ไทย|تونس|укр|امارات|اليمن)))(?::\d{2,5})?(?:\/\S*)?\b
/
gmi

Description

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