How to reduce my str_replace php code ?
I want to remove aass until zass from
this is my php code, it's work good. But i want to reduce. how can i do ?
<?PHP
$str = str_replace('aass', '', $str);
$str = str_replace('bass', '', $str);
$str = str_replace('cass', '', $str);
$str = str_replace('dass', '', $str);
$str = str_replace('eass', '', $str);
$str = str_replace('fass', '', $str);
$str = str_replace('gass', '', $str);
$str = str_replace('hass', '', $str);
$str = str_replace('iass', '', $str);
$str = str_replace('jass', '', $str);
$str = str_replace('kass', '', $str);
$str = str_replace('lass', '', $str);
$str = str_replace('mass', '', $str);
$str = str_replace('nass', '', $str);
$str = str_replace('oass', '', $str);
$str = str_replace('pass', '', $str);
$str = str_replace('qass', '', $str);
$str = str_replace('rass', '', $str);
$str = str_replace('sass', '', $str);
$str = str_replace('tass', '', $str);
$str = str_replace('uass', '', $str);
$str = str_replace('vass', '', $str);
$str = str_replace('wass', '', $str);
$str = str_replace('xass', '', $str);
$str = str_replace('yass', '', $str);
$str = str_replace('zass', '', $str);
?>