Regular Expressions 101

Sponsors

Library entries

0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 6 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

IP/MASK or IP/CIDR (accept 5.5.5.0/255.255.255.0 and 5.5.5.0/24)

Vote

0

Regular Expression
javascript

/
^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/((((([0-9])|(?:[1-2][0-9])|(?:3[0-2]))|(([1-9]?\\d|1\\d\\d|25[0-5]|2[0-4]\\d)\.){3}([1-9]?\\d|1\\d\\d|25[0-5]|2[0-4]\\d)(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])))|(((255\.){3}(255|254|252|248|240|224|192|128|0+))|((255\.){2}(255|254|252|248|240|224|192|128|0+)\.0)|((255\.)(255|254|252|248|240|224|192|128|0+)(\.0+){2})|((255|254|252|248|240|224|192|128|0+)(\.0+){3})))$
/
mg

Description

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