Regular Expressions 101

Sponsors

Library entries

0
pcre2

belcorp

test
Submitted by anonymous - 11 days ago
0
pcre2

C/F temp unit

me
Submitted by anonymous - 11 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 12 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 12 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 12 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 12 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 12 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 14 days ago
0
python

恩更

非法发
Submitted by anonymous - 14 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 15 days ago

ln -l linux parse

Vote

3

Regular Expression
pcre

/
(?<type>.{1})(?<user_access>.{3})(?<group_access>.{3})(?<other_access>.{3}) +(?<oder>[0-9]*) +(?<owner>[a-z]*) +(?<group>[a-z]*) +(?<size>\d*) +(?<month>[a-z]{3}) +(?<day>\d{1,2}) +(?<year>\d{0,4})(?<time>(?<hour>\d{2}):(?<minute>\d{2}))? +(?<filename>(?<basename>.+)\.(?<extension>.*)|(?<no_extension_filename>.*))
/
gmi

Description

Loading markdown...
Submitted by guignol95 - 7 years ago