可以用正则表达式,也可以直接用php,感觉还是php比较方便一点: $str = str_replace("","",$str);
再提供一个正则表达式的方法:$str = preg_replace('|
我也在学php 我用drupal6.0 新手刚上路 呵呵 帮 不了你