Regular Expressions 101

Sponsors

Library entries

0
pcre2

Email Regex

A well equiped regex
Submitted by anonymous - 9 hours ago
0
pcre2

Soundcloud pattern

Soundcloud pattern
Submitted by anonymous - 10 hours ago
0
pcre2

YouTube regex pattern v2

YouTube regex pattern v2
Submitted by anonymous - 12 hours ago
0
javascript

https

https
Submitted by anonymous - 14 hours ago
0
pcre2

suprnana

whodis
Submitted by anonymous - 18 hours ago
0
python

meter number

meter number
Submitted by econ - a day ago
0
pcre2

Divide AAAA and MMGG

Division between AAAA and MMGG
Submitted by Alessandro - a day ago
0
pcre2

auth.log grouping

Putting auth.log file into groups.
Submitted by Jason King - 2 days ago
0
python

whatsapp meta data

[8/23/18, 2:05:50 PM]
Submitted by Mandar Gite - 2 days ago
0
python

bkengine 单行宏匹配

bkengine 单行宏匹配
Submitted by anonymous - 3 days ago
0
python

取等号两边的数据

取等号两边的数据
Submitted by 小沙盒工作室 - 3 days ago

Between two strings

Vote

-2

Regular Expression
python

"
# Keys are pretty much "any text before the '=' symbol" (?P<key>[^=]+) # Match the '=' symbol = (?P<value> # Lazy match .*? # Look-ahead (don't move the "regex cursor", just "peek forward") (?= # Match a '_' that has no other '_' between it and the '=' character, or... _(?=[^_=\n]+=) | # ... or the end of the line $ ) ) # Actually "consume" the '_' character if it exists (or just match the end-of-line) (?:_|$)
"
gmx

Description

Loading markdown...
Submitted by OnlineCop - 7 years ago