Regular Expressions 101

Library entries

1
python

HDFS Audit Log Parser

no description available
Submitted by Vance Wei - 7 years ago
1
python

nlc variation

no description available
Submitted by yasaman - 7 years ago
1
python

Strip unicode u

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

Address

Regex for extracting address with pincode.
Submitted by Irfan Patel - 7 years ago
1
python

grabs first part of formula

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

grab value from json

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

pull version number

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

BigTimeRegex2

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

BigTimeRegex3

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

a

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

HTML tag search

finds the common html tags
Submitted by Henri Mulder - 7 years ago
1
python

re

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

xref phone number

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

RUBROS

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

C-style comments

Match C-style comments
Submitted by Mykola Orliuk - 7 years ago
1
python

step1

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

SubRE

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

catch TXT record DNS

no description available
Submitted by anonymous - 7 years ago

Todo.txt line pattern (Custom)

Vote

1

Regular Expression
python

r"
^(?:\((?P<imp>[A-Z])\)\ )?(?P<dued>(?:2[0-1][0-9]{2}\-(?:0[0-9]|1[0-2])\-(?:[0-2][0-9]|3[0-1]))|\?)\ (?:\+(?P<proname>[a-zA-Z0-9]+)(?:\#(?P<pronum>[0-9]+))?\ )?(?:\$(?P<startd>2[0-1][0-9]{2}\-(?:0[0-9]|1[0-2])\-(?:[0-2][0-9]|3[0-1]))(?:\^(?P<repeat>\d*(?:D|W|M|Y)(?:\,\d*(?:D|W|M|Y)+)*))?\ )?(?P<todo>.+?(?=(?:\ (?:\@|\&))|$))(?P<contexts>(?:\ \@\S+)*)(?P<tags>(?:\ \&\S+)*)
"
gm

Description

Loading markdown...
Submitted by Francesco Tosello - 7 years ago