/// <summary>
/// Determines whether the specified URL is in a valid format.
/// </summary>
/// <param name="Url">URL to validate.</param>
/// <returns><c>True</c> if the URL is formatted correctly, otherwise <c>False</c>.</returns>
/// <remarks></remarks>
public static bool IsUrl(String Url)
{
return Regex.IsMatch(Url, @"((https?|ftp|gopher|telnet|file|notes|ms-help):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+-=\\\.&]*)");
}