Regular Expressions 101

Sponsors

Library entries

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