<?php $subject = "<br><img src='files/bagel.png'><br><br>"; $pattern = '/<img src=.*?>/'; preg_match($pattern, $subject, $matches); print_r($matches); ?>
You have javascript disabled. You will not be able to edit any code.