Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
<\s*img\s+src\s*=\s*\"(.*)\">
/
g

Description

get contents of src attribute

Submitted by me - 9 years ago