Regular Expressions 101

Sponsors

Library entries

0
pcre2

正则提取

ss
Submitted by sss - 6 days ago
0
pcre2

e-mail regex

Validates an email address
Submitted by anonymous - 6 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 6 days ago
0
pcre2

id

getid
Submitted by anonymous - 7 days ago
0
pcre2

id

getid
Submitted by anonymous - 7 days ago
0
javascript

sql inj

as
Submitted by anonymous - 7 days ago
0
pcre2

aff url normalize

conevrt url
Submitted by anonymous - 7 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 8 days ago
0
pcre2

Date time ISO_8601 Pattern

credits to Sayooj V R
Submitted by anonymous - 8 days ago
0
pcre2

routes

routes
Submitted by anonymous - 9 days ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 9 days ago
1
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 10 days ago
0
pcre2

GS1-128 and RegEx

Parse the 3 groups of a GS1-128 Barcode
Submitted by Mike D - 10 days ago

foengz1

Vote

0

Regular Expression
python

"
(((<(?P<tag>(title|table|li|p|h\d|td|li|pre|div|i|a|b|strong))\b[^>]*?>(((?!<(?P=tag)|<pre|<figure|<img|<h\d|<li\b)[\d\D])){3,}?)(<(\/(?P=tag)|figure|img)[^>]*?>))|((<(?P<tag2>(title|li|p|h\d|td|li|pre|div|i|a|b|strong))\b[^>]*?>(((?!<(?P=tag2)|<pre|<figure|<img|<h\d|<li\b)[\d\D])){3,}?)(?=<))|((?<=>)[^<]{3,}(?=<\/div>)))
"
gm

Description

Loading markdown...
Submitted by Foengz - 2 months ago