Regular Expressions 101

Community Patterns

Community Library Entry

-3

Regular Expression
ECMAScript (JavaScript)

/
<img.*?src="([^"]*)"[^>]*>(?:<\/img>)?
/
gi

Description

Matches HTML structure

Submitted by sagar - 9 years ago