DAIC 当前离线
中将
tmplinshi 当前离线
版主
var str = "a'bcde" str2 = str.replace("\'","") WScript.Echo(str2)复制代码
TOP
powerbat 当前离线
大校
var str = "a'bcde"; str2 = str.replace(/'/g,""); WScript.Echo(str2);复制代码
var str = "a'bcde"; str2 = str.replace(/'.*/g,""); WScript.Echo(str2);复制代码
var str = "a'bcde"; str2 = str.replace(/'.*/g,"'"); WScript.Echo(str2);复制代码