CODE: pull out sub domains May 26, 2011 | No Comments | mssql (PATINDEX(‘%.%’, REPLACE(REPLACE(url, ‘www.’, ”), RIGHT(url, 7), ”)) > 1) Read More »