<?php $result = preg_replace('~\[(img|url)\](.*)\[/\1\]~i', 'REPLACED', '[img]test[/img][not]img[/not][url]http][/url][img]second image[/img]'); echo $result;
You have javascript disabled. You will not be able to edit any code.