Regular Expressions 101

Community Patterns

0

lua_pattern

Python
lua file name
Submitted by anonymous - a year ago
0

域名规则

ECMAScript (JavaScript)
域名规则
Submitted by anonymous - a year ago
0

提取js中的内容

Python
获取变量值等
Submitted by anonymous - a year ago
0

Procurar por IPv4

Python
Match em um IPv4 válido
Submitted by anonymous - a year ago
0

TCN Match

Python
Extract info about STP TCNs
Submitted by anonymous - a year ago

Time duration from minutes to weeks suffixed by letter and whitespace separated

1

Regular Expression
ECMAScript (JavaScript)

/
^(?<weeks>\d{1,2})w\s(?<days>0?[0-6])d\s(?<hours>(?:0?|1|2(?=[0-3]))\d)h\s(?<minutes>(?:0?|[1-5])\d)m$
/
i

Description

Loading markdown...
Submitted by Dorin Popa - 2 years ago
(Last modified 2 years ago)