编辑下面的代码:【加编码】
<html> <body> <script> var str="Is this all there is?"; var patt1=/is/g; document.write(str.match(patt1)); </script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂