Regular Expressions 101

Sponsors

Library entries

0
pcre

exp1

asdf
Submitted by anonymous - 10 hours ago
0
pcre2

T1

Reguljärt uttryck för att matcha T1
Submitted by Jonas Thor - 2 days ago
0
java

Other segment

Other segments
Submitted by Lufram - 2 days ago
0
java

Take segments to string

Take segments to string
Submitted by Lufram - 2 days ago
0
pcre2

URL 2

http https www - ww1 - ww999
Submitted by Andy - 3 days ago
0
python

Special GPS input

Used for TrigDroid
Submitted by anonymous - 4 days ago
0
pcre2

DwgBatch - Ändra datumformat

Kurs DwgBatch Ändra datumformat
Submitted by Jonas Thor - 4 days ago
0
pcre2

find supertype of

for express
Submitted by anonymous - 5 days ago

Наконец-то date0 к нужной колонке подтянулся в дате со сложным форматом 2

Vote

0

Regular Expression
python

"
(?:[\b\B]?(?:(?P<EngDate>[a-zA-Z]+ )?(?P<Date0>(?:\d{1,2}(?=[ ,./-])|\d{4})?)\.??(?(2),?)(?P<d_sep>[ ,./-])?(?:(?P<Date1>[^\W\d_]+|\d{1,2})(?(3)(?P=d_sep)))?(?P<Date2>\d{4}|\d{2})?(?!\:|\.|\d))|(?:(?<!\d)(?P<Hours>[0-2]?\d)[:\.](?P<Minutes>[0-5]\d)(?:[:\.](?P<Seconds>[0-5]\d))?(?:[,\.](?P<SenodsFraction>\d{6}|\d{3}))?(?: \w\W)?(?:(?:[\. \w+]?(?:(?P<Z>(?:[a-zA-Z]{3,5})|(?:[+-]\d\d?:?[0,3,4]?[0,5]?))|(?P<s>PD|[apmAPM]{2})))+)?))
"
g

Description

Loading markdown...
Submitted by anonymous - 3 years ago