W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <body> <script type="text/javascript"> var str1="noonday"; var str2="possibly yesterday."; var patt1=/\B../; var patt2=/y\B./; document.write(str1.match(patt1) + "<br>"); document.write(str2.match(patt2) + "<br>"); </script> </body> </html>