public static SyntaxTreeNode Parse(string message) { message = Regex.Replace(message, @"(?<!\[url\=)(?<!\[url\])(http|https|ftp)\://[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+(:[0-9]+)?/[a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~]*", "[url=$0]$0[/url]"); return(parser.ParseSyntaxTree(message)); }