Regular Expressions 101

Sponsors

Library entries

103
javascript

trim

trim string
Submitted by fp - 9 years ago

HTML image tag src

Vote

3

Regular Expression
javascript

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

Description

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