Regular Expressions 101

Sponsors

Library entries

0
javascript

Website URL

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

magnet

Extract magnet links
Submitted by Peng - 7 years ago
1
python

regex to match absolute urls

no description available
Submitted by maq - 7 years ago
0
javascript

test

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

parse array to object p1

no description available
Submitted by me - 7 years ago
1
javascript

dd-mm-yyyy

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

Currency Detector Python

Currency Detector for Python
Submitted by Joao Graca - 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