Regular Expressions 101

Sponsors

Library entries

1
python

Cross Reference Regex for SFM

SFM 2.4
Submitted by anonymous - 6 years ago
1
python

Footnote Regex for SFM

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

authproc1_auth01_2

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

Email

Python
Submitted by anonymous - 6 years ago
1
python

email catcher

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

BR Phone

get all attempts to write brazilian phone numbers
Submitted by rafaelverger - 6 years ago
1
python

1

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

Mercado

Somente as primeiras palavras.
Submitted by anonymous - 6 years ago
1
python

C Style block comment

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

FA12-BSE-008

no description available
Submitted by fb.com/ahsanulhaq007 - 6 years ago
1
python

wsolast350

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

auto generated closers

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

foreign email closers

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

dutch + danish + icelandic greeings

no description available
Submitted by anonymous - 6 years ago

Skype/IRC log syntax highlighting

Vote

1

Regular Expression
python

"
^\s* (?: (?P<date> (?:[\[<\(]\s*)? # opening bracket (?: # date time (?: # date (?: (?: # matches mm-dd-yyyy mm-dd-yy mm-dd \d{1,2}-\d{1,2} (?: - (?:\d{4}|\d{2}) )? ) | (?: # matches mm/dd/yyyy mm/dd/yy mm/dd \d{1,2}\/\d{1,2} (?: \/ (?:\d{4}|\d{2}) )? ) ) \s+ # time \d{1,2}:\d{2} (?::\d{2})? (?: \s* (?:AM|PM) )? ) | # time date (?: # time \d{1,2}:\d{2} (?::\d{2})? (?: \s* (?:AM|PM) )? \s+ # date (?: (?: # matches mm-dd-yyyy mm-dd-yy mm-dd \d{1,2}-\d{1,2} (?: - (?:\d{4}|\d{2}) )? ) | (?: # matches mm/dd/yyyy mm/dd/yy mm/dd \d{1,2}\/\d{1,2} (?: \/ (?:\d{4}|\d{2}) )? ) ) ) | # time only (?: \d{1,2}:\d{2} (?::\d{2})? (?: \s* (?:AM|PM) )? ) ) (?:\s*[\)>\]])? # closing bracket ) \s+ )? (?P<name> (?: (?:<\s*[^\s:>]+\s*>) # match <Username> | (?:[^\s:]+:) # match Username: ) ) \s+ (?P<message>.*) $
"
gxm

Description

Loading markdown...
Submitted by Sirenfal - 6 years ago