<?php $my_string = "newtext!234@@random_text@@weludud"; $replace = 'replaced_text'; $replaced_text = preg_replace('#(@)(.*)(@)#si', "$1$replace$3", $text); echo $replaced_text;
You have javascript disabled. You will not be able to edit any code.