<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>W3Cschool教程(w3cschool.cn)</title>
</head>
<body>

<script>
var str = "Visit W3Cschool";
var patt1 = /w3cschool/i;
document.write(str.match(patt1));
</script>

</body>
</html>

 

相关文章:

  • 2022-01-04
猜你喜欢
  • 2021-12-10
  • 2021-12-10
  • 2021-12-28
  • 2022-01-21
  • 2022-12-23
  • 2021-09-11
  • 2021-12-03
相关资源
相似解决方案