<?php $s = '<iframe width="800"><embed width=300>fdgdfg</embed>sfsdfsdf</iframe>'; echo preg_replace('~(.*width=["]?)(\d+)(["]?.*)~', '${1}222${3}', $s);
You have javascript disabled. You will not be able to edit any code.