<script type="text/javascript"> 
str="http://yl.www.tyg.com/index.php";
str=str.match(/[^.\/]*(\.[^.\/]*){3}/g);
if(str)
{
str=str[0].replace(/(\.[^.\/]*){3}/g,"");
alert(str)
}
else{alert("nodefind")}
</script>

 

相关文章:

  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2022-02-25
相关资源
相似解决方案