比如说:
<a href="jfd.aspx?id=fdfs">
<a href='jfdsf.php'>
这样的

解决方案 »

  1.   

    验证InternetURL:“^http://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?$”
      

  2.   

    不行啊,,\w无法识别的转义序列
    Regex regObj = new Regex("([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
      

  3.   

    引号里的'\'用'\\'代替==== 
    ~~~~ 我的Blog:http://blog.csdn.net/quou2002 
      

  4.   

    <a href=((\"([^\"]*)(asp|htm|html|aspx|php|jsp)([^\"]*)\")|('([^']*)(asp|htm|html|aspx|php|jsp)([^']*)')).*>