Regular Expressions 101

Community Patterns

0

Url handling

Python
Simple regex to split url
Submitted by Hangfish - a year ago
0

lua_pattern

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

phone number matcher

Java 8
phone number matcher
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

weighted average

1

Regular Expression
Python

r"
^weight.+average.+(\n.+){0,2}(share|basic|ordinary).+(?P<d1>\s[\d,]+)\s+(?P<d2>\s[\d,]+)
"
gmi

Description

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