using System;
using System.Text.RegularExpressions;
namespace CommLayer
{
/// <summary>
/// 自动给邮件地址或email地址加上url
/// </summary>
public class HyperlinkUrl
{
private static Regex urlregex = new Regex(@"(http:\/\/([\w.]+\/?)\S*)",
RegexOptions.IgnoreCase|RegexOptions.Compiled);
private static Regex emailregex = new Regex(@"([a-zA-Z_0-9.-]+\@[a-zA-Z_0-9.-]+\.\w+)",
RegexOptions.IgnoreCase|RegexOptions.Compiled);
public HyperlinkUrl()
{
}
| 对此文章发表了评论 |

