Updated regex for detecting mobile devices.