简单的   javascript 正则表达式匹配
http://info.
....test.com/
.../bottom.shtml
红色字体为任意的,正则表达式怎么写
              
              
------解决方案--------------------<html>
 <head>
  <script>
  var str = "http://info...S..test.com/..D./bottom.shtml";
  str.replace(/http:\/\/info(.*)test.com\/(.*)\/bottom.shtml/,function($0,$1,$2) {
	alert($1);
	alert($2);
  });
  </script>
 </head>
 <body>
 </body>
</html> 
------解决方案--------------------var str = 'http://infoaatest.com/bbb/bottom.shtml';
alert(/http:\/\/info
.*?test.com\/
.*?\/bottom.shtml/.test(str));
刚才回复过了,居然没有了,版主怎么可以乱删回复呢?