编辑下面的代码:【加编码】
<html> <body> <script type="text/vbscript"> txt="This is a beautiful day" Set objReg=CreateObject("vbscript.regexp") objReg.Pattern="i" document.write(objReg.Replace(txt,"##")) </script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂