我有一段UBB的嵌套引用代码,但是是VBS的,谁帮忙改成JavaScript?100分!!
re.Pattern="(\[QUOTE\])(.*)(\[\/QUOTE\])"
replstr="<BLOCKQUOTE><BLOCKQUOTE>引用:<hr size=1 color=#000000>$2<hr size=1 color=#000000></BLOCKQUOTE></BLOCKQUOTE>"
Set Matches=re.Execute(strContent) '执行搜索
for each Match in matches
strcontent = re.Replace(strContent, replStr)
strcontent = re.Replace(strcontent, replStr)
next
谢谢了