Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
<img.*?src\s*=\s*"(.+?)"
/
gi

Description

get src url from img tag in html

Submitted by anonymous - 9 years ago