Regular Expressions 101

Sponsors

Library entries

0
python

Almost working sites regex

no description available
Submitted by anonymous - 8 years ago
0
python

Negative lookbehind

no description available
Submitted by anonymous - 8 years ago
0
python

test

test
Submitted by boag - 7 years ago
0
python

UAE Phone Numbers

no description available
Submitted by Sebastian - 7 years ago
0
python

ipv4

no description available
Submitted by anonymous - 7 years ago
0
python

apache log analysis

no description available
Submitted by anonymous - 7 years ago
0
python

teste

tes
Submitted by tes - 7 years ago
0
python

email validation

no description available
Submitted by Yerko Palma - 7 years ago
0
python

pass

no description available
Submitted by anonymous - 7 years ago
0
python

Date Groupings

no description available
Submitted by flipkitty - 7 years ago
0
python

Match HTTP error code

no description available
Submitted by anonymous - 7 years 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