This regular expression will find key word in a user agent and to easily flag them has a phone or tablet.