detect windows phone 8 user agent

 

 

 

 

As mentioned later, User-Agent based detection is not a reliable solution in most cases, because: The rules (regular expressions) are constantly out-dated and incomplete.