This regex is the latest from Mobile Detect. I hope it is correct, but we only have tests around iPad and WinRT so far.