Regular Expressions 101

Sponsors

Library entries

103
javascript

trim

trim string
Submitted by fp - 9 years ago

get image with classname

Vote

1

Regular Expression
javascript

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

Description

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