var str='afd00sa就离开0989899.--..%%%%ls kdf金坷垃';var re=/[^一-龥a-zA-Z0-9]/gconsole.log(str.replace(re,""))