string strText="212.56.87.23 netartmedia.net";
Regex oRegex=new Regex(@"(?<IP_ADDRESS>(d|.)+)s"+@"(?<URL>S+)");
MatchCollection oMatchCollection=oRegex.Matches(strText);
foreach(Match oMatch in oMatchCollection)
{
Console.WriteLine("IP: "+oMatch.Groups["IP_ADDRESS"]);
Console.WriteLine("URL: "+oMatch.Groups["URL"]);
}
/*
*
will print to the screen
IP: 212.56.87.23
URL: netartmedia.net
*/