Regular Expressions 101

Community Patterns

1

REGEX

Python
no description available
Submitted by anonymous - 9 years ago
5

Match Only Text

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

IPv4 extraction

Python
no description available
Submitted by Jacob - 10 years ago
-1

woop

Python
no description available
Submitted by anonymous - 9 years ago
5

Form Tag

Python
Form Tag
Submitted by Jay Patel - 8 years ago
5

psswd

Python
no description available
Submitted by anonymous - 8 years ago
4

CloudFlare

PCRE2 (PHP >=7.3)
Cloud Flare
Submitted by anonymous - 3 years ago
4

Email

PCRE2 (PHP >=7.3)
email format control
Submitted by ahmetbarut - 3 years ago
3

prices in nis

Python
no description available
Submitted by molaxx - 9 years ago

Between two strings

-2

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 OnlineCop - 8 years ago