<?php $re = '@<!CDATA\[.*?/\K\w+\.\jpg(?=\]\])@'; $str = '<!CDATA[/2018/08/hello.jpg]]><!CDATA[/2018/08/another.jpg]]>'; preg_match_all($re, $str, $matches); print_r($matches[0]);
You have javascript disabled. You will not be able to edit any code.