C#正则表达式验证网址

在C#开发环境 VS2010 中引入  using System.Text.RegularExpressions;

                        Regex reg = new Regex(@"http(s)?://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?");
                        Match match = reg.Match(model.CloudFavoriteLink);
                        if (match.Value == "")
                        {
                            //相关处理或提示代码

                        }