Converting any URL into a Link in a C# string using Regular Expressions

After having tried different regular expressions and methods to automatically replace ANY URL in a STRING with its Html Link, I found this C# code snippet working better then others, and I want to share it with you.

string StringToParse = "this is just an example http://www.riccardo.it I think it worth a try! Visit also http://www.google.it for more examples";

System.Text.RegularExpressions.Regex regx = new System.Text.RegularExpressions.Regex(@"https?://[^\s]*", System.Text.RegularExpressions.RegexOptions.IgnoreCase);

System.Text.RegularExpressions.MatchCollection mactches = regx.Matches(orderedString);

foreach (System.Text.RegularExpressions.Match match in mactches)
{
     orderedStringWithUrl = orderedStringWithUrl.Replace(match.Value, "" + match.Value + "");
}

That will give you the following string:

this is just an example
http://www.riccardo.it
I think it worth a try! Visit also
http://www.google.it
for more examples

Without return carrels, of course :)