SitePoint Forums | Web Development & Design Community
Matching first instance of p tag with RegExp
General Web Dev
regex
felgall
May 4, 2016, 6:14am
2
The following should stop at the close of the paragraph
^<p><img src="https?:\/\/\S.+?<\/p>
1 Like
show post in topic