<?php $string = 'REGISTER 11223344 here'; var_export( preg_replace('/REGISTER(.*)here/','',$string) );
You have javascript disabled. You will not be able to edit any code.