1
1
1
JavaScript 正则表达式:
var reg = /([\(\)\[\]\{\}\^\$\+\,\s\_\:\-\*\?\.\"\‘\|\/\\])/g; str = "0_0 (: /-\ :) 0-0"; var s = str.replace(reg,""); //0000 var l = s.toLowerCase(); document.write(l)) ; //You‘ll need to remove all non-alphanumeric characters
1
1
1
1
1
1
1
1
时间: 2024-10-11 03:31:05