Snippet about getting img tag image url from html using regex in PHP. Example below.
Source code viewer
$html = '<img src="http://browse-tutorials.com/sites/browse-tutorials.com/themes/ram4nd/img/text.png" alt="written tutorial - SQL query examples in Drupal 7" style="float:left" width="16" height="16"> <div class="created">20 Apr, 2012</div> <div class="body">Snippet about getting img tag image url from html using regex in PHP. Example below.</div>'; echo $matches[1]; }Programming Language: PHP