using System.Text.RegularExpressions;
public static void Main()
var input = "SOME domain at HTTP://www.example.com/home/index is first candidate, and http://www.example2.com/other/account is second http candidate";
var words = input.Split(new[]{' '})
.Select(w => w.ToLower())
.Where(w => w.Contains("http://"))
.Select(w => w.Substring(w.IndexOf("http://")+7))
.Select(w => w.Substring(0, w.IndexOf("/")));
foreach(var word in words)