Regular Expressions 101

Library entries

1
javascript

magnet

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

regex to match absolute urls

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

test

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

parse array to object p1

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

dd-mm-yyyy

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

Currency Detector Python

Currency Detector for Python
Submitted by Joao Graca - 8 years ago
1
javascript

Alpha + Underscore

no description available
Submitted by Sergio de la Garza - 8 years ago
1
javascript

url regex

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

c

no description available
Submitted by s - 8 years ago

Look Forward

Vote

1

Regular Expression
python

r"
# 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 Online Cop - 8 years ago