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