Regular Expressions 101

Sponsors

Library entries

0
python

Airtel Unlimited Plan

Airtel Unlimited Plan
Submitted by starkm42 - 8 months ago
0
python

pens

testing
Submitted by anonymous - 7 months ago
0
python

71871164

Stack overflow example
Submitted by anonymous - 7 months ago
0
golang

find email addresses

find email addresses
Submitted by anon - 7 months ago
0
python

Phone number regex

REGEX to test various phone numbers
Submitted by Drew Recker - 7 months ago
0
python

#value # value

account for comments
Submitted by anonymous - 7 months ago
0
python

LinkTree

just to find linktree links in poirot
Submitted by anonymous - 7 months ago
0
java

OS正则表达式

zzx
Submitted by zzx - 7 months ago
0
java

DB

DB
Submitted by DB - 7 months ago
0
python

matlab代码

matlab代码
Submitted by java - 7 months ago
0
java

括号匹配

(\[]\])|(【】)|(())|(\(\))
Submitted by nasion - 7 months ago
0
python

find const string in code for xml/java

.
Submitted by anonymous - 7 months ago
0
java

IP Address

IP Address RegEx
Submitted by anonymous - 7 months 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