php使用正则去掉字符串中的中文
<?php $a = "<tt>som在线冲值e</tt><b>ht打算ml</b>"; $result = preg_replace('/([\x80-\xff]*)/i', '', $a); var_dump($result); ?>