Regular Expressions 101

Library entries

HTML image tag src

Vote

3

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Simon Altschuler - 8 years ago