Regular Expressions 101

Sponsors

Library entries

1
python

Movizland

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

Sunless Sea Game Note

no description available
Submitted by MestreLion - 7 years ago
1
python

github user/repo regex

parses user/repo
Submitted by luckydonald - 7 years ago
1
python

kalem pattern 2

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

Find label

Find label in MIPS assembly
Submitted by Dlavoieb - 7 years ago
1
python

Aggregates

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

To block Invoice virus attachment

no description available
Submitted by Edgar Lozada - 7 years ago
1
python

vdbench error line

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

Apache Log Format Parser

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

detect bot

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