Using Regex to detect Windows Platform