Hello all,
if you need regular expression to remove all the subdomains from a url to leave only the domain name. e.g.
http://rss.abc.def.SiteName.com.edu.au <after applying regex leave>
SiteName.com.edu.au
Then you can use the following:
Regex.Replace( mySiteUrl, ".*SiteName", "SiteName", RegexOptions.IgnoreCase );