Regular Expressions 101

Sponsors

Library entries

0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 5 days ago
0
python

Postcode (UK)

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

PO Number

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

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 17 days ago
0
python

dice thing

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

完形填空

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

恩更

非法发
Submitted by anonymous - 19 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 19 days ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 21 days ago
0
python

DEPIT INFO

K
Submitted by K - 21 days ago
0
python

Regex

wifiwnsml
Submitted by krishabj - 21 days ago
0
python

Log Analysis Google

final project
Submitted by anonymous - a month ago
0
python

find const string in code for xml/java

.
Submitted by anonymous - a month ago
0
python

matlab代码

matlab代码
Submitted by java - a month ago

Full URL

Vote

1

Regular Expression
pcre

/
^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!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\x{00a1}-\x{ffff}0-9]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)(?:\.(?:[a-z\x{00a1}-\x{ffff}0-9]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)*(?:\.(?:[a-z\x{00a1}-\x{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$
/
gmius

Description

Loading markdown...
Submitted by mdf092 - 6 years ago