Regular Expressions 101

Sponsors

Library entries

0
golang

find email addresses

find email addresses
Submitted by anon - a month ago
0
python

71871164

Stack overflow example
Submitted by anonymous - a month ago
0
python

pens

testing
Submitted by anonymous - a month ago
0
python

Airtel Unlimited Plan

Airtel Unlimited Plan
Submitted by starkm42 - 2 months ago
0
python

Match Street Number

Matches street number in it's 2nd group
Submitted by anonymous - 2 months ago
0
python

Rename files

Python regex of multiple file rename
Submitted by anonymous - 2 months ago

sources.list line match

Vote

0

Regular Expression
python

"
(?P<type>deb(?:-src)?) (?:\[(?P<options>.*)\] )?(?P<uri>(?P<protocol>(?:(?:mirror\+)?(?P<local>file|cdrom|copy)|(?P<remote>http|https|ftp|ssh))):(?(remote)//((?:(?!-)[a-zA-Z0-9-]{1,63}(?<!-)\.)+[a-zA-Z]{2,6}))/[a-zA-Z0-1-_\./]+) (?P<suite>[a-z/]+)(?:(?<!/) (?P<components>[a-z]+(?: [a-z]+)*))
"
u

Description

Loading markdown...
Submitted by NK308 - 6 months ago