Regular Expressions 101

Sponsors

Library entries

0
python

分组替换升级版

考虑开头重复的情况
Submitted by anonymous - 2 years ago
0
python

validate phone

no description available
Submitted by anonymous - 2 years ago
0
python

regex email

use for censor phonenumber in comment
Submitted by anonymous - 2 years ago
0
python

分组与断言

no description available
Submitted by anonymous - 2 years ago
0
python

Inventario_ZTE

Una muestra dle inventario de ZTE
Submitted by anonymous - 2 years ago
0
python

Inventario_ZTE

Una muestra dle inventario de ZTE
Submitted by anonymous - 2 years ago
0
python

Mac IP

no description available
Submitted by anonymous - 2 years ago
0
golang

SEMS

no description available
Submitted by anonymous - 2 years ago
0
golang

SEMS

no description available
Submitted by anonymous - 2 years ago
0
golang

SEMS

no description available
Submitted by anonymous - 2 years ago
0
golang

SEMS

no description available
Submitted by anonymous - 2 years ago
0
golang

sem

no description available
Submitted by anonymous - 2 years ago
0
golang

conatact

no description available
Submitted by anonymous - 2 years ago
0
golang

totalsource

no description available
Submitted by anonymous - 2 years ago
0
golang

acountant

no description available
Submitted by anonymous - 2 years ago
0
golang

totalsource

no description available
Submitted by anonymous - 2 years ago
0
python

pre laycan

no description available
Submitted by anonymous - 2 years 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 - 2 years ago