js replace(/(.*)(addSpec)(.*)(\[)(\+)/i,"$1removeSpec$3$4-")
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 18:31:29
jsreplace(/(.*)(addSpec)(.*)(\[)(\+)/i,"$1removeSpec$3$4-")jsreplace(/(.*)(addSpec)(.*)(\[)(\+)/i,"$
js replace(/(.*)(addSpec)(.*)(\[)(\+)/i,"$1removeSpec$3$4-")
js replace(/(.*)(addSpec)(.*)(\[)(\+)/i,"$1removeSpec$3$4-")
js replace(/(.*)(addSpec)(.*)(\[)(\+)/i,"$1removeSpec$3$4-")
将 {x1}addSpec{x2}[+ 替换成 {x1}removeSpec{x2}[- ,其中{x1},{x2}代表任意字符串