Regular Expressions 101

Sponsors

Library entries

0
pcre2

belcorp

test
Submitted by anonymous - 13 days ago
0
pcre2

C/F temp unit

me
Submitted by anonymous - 13 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 14 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 14 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 14 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 14 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 14 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 16 days ago
0
python

恩更

非法发
Submitted by anonymous - 16 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