Regular Expressions 101

Sponsors

Library entries

0
pcre2

Get HTML attribute

Get HTML attribute with /" inside
Submitted by anonymous - 15 days ago
0
pcre2

IP address with port

Match ip address with port
Submitted by PARNKOT - 17 days ago
0
pcre2

Env Var

Regex to match Env Variable whole line
Submitted by anonymous - 17 days ago
0
python

MAC Address

Simple MAC address match/parsing expression
Submitted by cwichel - 18 days ago

Skip line contain HTML element attribute which have a URL value

Vote

0

Regular Expression
javascript

/
<([a-z]+|[a-z]+-[a-z-]*)[^>]*\s+(action|cite|href|longdesc|src|srcset|url|usemap)\s*(=|\()\s*(["'][^"']+["']|[^>]+)>
/
img

Description

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