Regular Expressions 101

Community Patterns

10

entity

Python
no description available
Submitted by anonymous - 8 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
5

Match Only Text

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

import url image

Python
import url image
Submitted by bartimeys - 8 years ago
4

CloudFlare

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

Email

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

repeat group match

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

domain - host

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