Regular Expressions 101

Library entries

0
pcre2

Address

grab address
Submitted by anonymous - 2 years ago
0
pcre2

Get Client

Parse Client type
Submitted by ben - 2 years ago
0
pcre2

reg

reg
Submitted by inj - 2 years ago
0
pcre2

Parse Received header on email

Parse Received header on email
Submitted by anonymous - 2 years ago
0
pcre2

Match questions

To debug pasted questions with options
Submitted by anonymous - 2 years ago
0
pcre2

reg

r
Submitted by anonymous - 2 years ago
0
pcre2

IMPORTANT REGEX

important
Submitted by anonymous - 2 years ago
0
pcre2

Match Number in a string

That's all
Submitted by anonymous - 2 years ago

Regex to match words or phrases in string but NOT match if part of a URL or inside <a> </a> tags

Vote

0

Regular Expression
python

r"
Amazon(?![^<]*</a>)
"
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago