开发十年,就只剩下这套Java开发体系了 >>> echo preg_replace('/([\x80-\xff]*)/i', '', "hello 你好,;world"); echo preg_replace('/([一-龥]*)/i', '', 'hello,;你好world');