Regex Validation not working with Android

I’m using a regex to validate a phone number. It works for iOS but not Android.
Any ideas why??

This is the code that @Darren_Murphy sent me.

Sorry it seems to be working now, went out the app and back in (while checking out the phone settings) then it worked.
Will update here if the problem repeats on other devices.