Regular Expressions 101

Sponsors

Library entries

0
python

amf signals

no description available
Submitted by anonymous - 4 years ago
0
python

aaa

aaa
Submitted by anonymous - 4 years ago
0
python

Synop

no description available
Submitted by anonymous - 4 years ago
0
python

Synop

no description available
Submitted by anonymous - 4 years ago
0
python

Float number regex

Float number without letters and symbols
Submitted by anonymous - 4 years ago
0
python

feetinches1

no description available
Submitted by anonymous - 4 years ago
0
python

Words that start with...

no description available
Submitted by anonymous - 9 years ago
0
python

almost any similar word

no description available
Submitted by anonymous - 9 years ago
0
python

Find email address in a string.

no description available
Submitted by anonymous - 9 years ago
0
python

DOI matcher

Matches any valid DOI
Submitted by jpowell - 8 years ago
0
python

test

no description available
Submitted by anonymous - 8 years ago

IPv6 Regex Match Removal

Vote

0

Regular Expression
python

"
(?:^|(?<=\s))(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(?=\s|$)
"
gm

Description

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