Regular Expressions 101

Sponsors

Library entries

0
python

取等号两边的数据

取等号两边的数据
Submitted by 小沙盒工作室 - an hour ago
0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 5 hours ago
0
pcre

helix word motion

helix word motion
Submitted by anonymous - 9 hours ago
0
pcre2

Strip datetime -> date

Strip datetime -> date
Submitted by anonymous - 11 hours ago
0
pcre2

Sports Release Regex attempt #1

Yes. Its a thing.
Submitted by anonymous - 11 hours ago
0
python

Match files' extention

match files' extention
Submitted by anonymous - 20 hours ago
0
pcre

Kafka topic name regex

Kafka topic name regex
Submitted by anonymous - a day ago
0
python

去除首尾空格

去除首尾空格
Submitted by anonymous - a day ago
0
python

`git` URL

Match git URL components (including partial URLs).
Submitted by anonymous - a day ago
0
pcre2

matches 4 or 6 or 8 digit which might be otp

test
Submitted by test - 2 days ago

Regex date_type_idSigma. OR date_type_sousType_idSigma. OR date_type_idSigma_champLibre

Vote

0

Regular Expression
pcre2

/
^(?:(?:(?:(?:(?:[13579][26]|[2468][048])00)|(?:[0-9]{2}(?:(?:[13579][26])|(?:[2468][048]|0[48]))))(?:(?:(?:09|04|06|11)(?:0[1-9]|1[0-9]|2[0-9]|30))|(?:(?:01|03|05|07|08|10|12)(?:0[1-9]|1[0-9]|2[0-9]|3[01]))|(?:02(?:0[1-9]|1[0-9]|2[0-9]))))|(?:[0-9]{4}(?:(?:(?:09|04|06|11)(?:0[1-9]|1[0-9]|2[0-9]|30))|(?:(?:01|03|05|07|08|10|12)(?:0[1-9]|1[0-9]|2[0-9]|3[01]))|(?:02(?:[01][0-9]|2[0-8])))))(([_]{1})[a-zA-Z-zÀ-ÿ-0-9\s]+?(?=_)([_]{1})(([0-9]+?(?=[.]))|([0-9]+?(?=[_])([_]{1})[a-zA-Z-zÀ-ÿ-0-9\s]+?(?=[.]))|([a-zA-Z-zÀ-ÿ-0-9\s]+?(?=_)([_]{1})(([0-9]+?(?=[.]))|([0-9]+?(?=_)([_]{1})[a-zA-Z-zÀ-ÿ-0-9\s]+?(?=[.]))))))
/
gm

Description

Loading markdown...
Submitted by JamesAdams - 12 days ago