<?php $str = '<input type="checkbox" name="jesus">'; echo preg_replace('/<input(\s+)type="checkbox"(\s+)>/', '${1}', $str);
You have javascript disabled. You will not be able to edit any code.