Regular Expressions 101

Sponsors

Library entries

0
pcre2

Email

Email
Submitted by anonymous - a month ago
0
python

Phone number

Phone number
Submitted by anonymous - a month ago
0
pcre2

Get description

sss
Submitted by anonymous - a month ago
0
python

Bot-Studio Comments

Regex For Comments In Bot Studio Via YT Docs
Submitted by Codaea - a month ago
0
pcre2

Regex named groups

Regex to group the elements by name
Submitted by anonymous - a month ago
0
python

Author names

Matches author names
Submitted by anonymous - a month 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