Regular Expressions 101

Sponsors

Library entries

0
pcre2

INI values

not done yet
Submitted by anonymous - 16 days ago
0
pcre2

JOOMLA_KEY

Identifies Joomla! Language Keys
Submitted by anonymous - 17 days ago
0
pcre2

European VAT Numbers

EU Vat Number formats
Submitted by Jonathan Vicente - 18 days ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - 19 days ago
0
pcre2

imperva_regex

A regex exercise for Imperva
Submitted by Lesley Miller - 20 days ago
0
pcre2

Before a word

Gets strings before or after a word
Submitted by SuperMAC - 20 days ago

URLS

Vote

0

Regular Expression
javascript

/
\b(?:(?:ht|f)tp(?:s?)\:\/\/|~\/|\/)?(?:\w+:\w+@)?((?:(?:[-\w\d{1-3}]+\.)+(?:com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|edu|co\.uk|ac\.uk|it|fr|tv|museum|asia|local|travel|[a-z]{2}))|((\b25[0-5]\b|\b[2][0-4][0-9]\b|\b[0-1]?[0-9]?[0-9]\b)(\.(\b25[0-5]\b|\b[2][0-4][0-9]\b|\b[0-1]?[0-9]?[0-9]\b)){3}))(?::[\d]{1,5})?(?:(?:(?:\/(?:[-\w~!$+|.,=]|%[a-f\d]{2})+)+|\/)+|\?|#)?(?:(?:\?(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=?(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)(?:&(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=?(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)*)*(?:#(?:[-\w~!$ |\/.,*:;=]|%[a-f\d]{2})*)?\b
/
ig

Description

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