JS-正则表达式-替换 利用正则表达式将源字符串中的某一部分替换成另一部分(只能替换文字字母,字符不能替换): var sToChange = “The sky is red”; var result … Continue reading JS-正则表达式-替换