Regular Expressions 101

Sponsors

Library entries

-2
python

TD data from html table

no description available
Submitted by Deepak Bansal - 6 years ago
-1
python

emoticon

no description available
Submitted by Victor Huang - 6 years ago
-1
python

GetDeviceIdFromAOR

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

import url image

import url image
Submitted by bartimeys - 6 years ago
1
python

single line acronym

no description available
Submitted by anonymous - 6 years ago
1
python

Work Samples

no description available
Submitted by MH - 6 years ago
1
python

rtxmap

no description available
Submitted by MBE - 6 years ago
1
python

JAva

no description available
Submitted by anonymous - 6 years ago
1
python

Java

no description available
Submitted by anonymous - 6 years ago
1
python

class code regex

no description available
Submitted by anonymous - 6 years ago
1
python

time

get time in string 33:20 a.m
Submitted by Hoang Phuong - Gia Lai - 6 years ago
1
python

Date

Find and ISO format date.
Submitted by Andrew Chalk - 6 years ago
1
python

PECL: find stable versions

no description available
Submitted by anonymous - 6 years ago
1
python

java

no description available
Submitted by anonymous - 6 years ago
1
python

Regex - global match, multiline

no description available
Submitted by MetalMuzu - 6 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 - 7 years ago