Regular Expressions 101

Library entries

get image with classname

Vote

1

Regular Expression
javascript

/
(<img[^<]+class=[\"'][^<]*\s*thumbnail\s*[^<]*[\"'][^<]+>)
/
ig

Description

Loading markdown...
Submitted by @cloverink - 8 years ago