<?php
$chars = array('!', '@', '#');
echo str_replace($chars, '', 'oh! texto com # e @ para apagar!');

//https://pt.stackoverflow.com/q/45595/101