Fixed regex for iPad support