Android email validation for english and arabic characters
问题 I am currently using this regular expression pattern to validate email addresses: android.util.Patterns.EMAIL_ADDRESS.matcher(emailAddress).matches(); It doesn't work with Arabic characters. I need it to work with both English and Arabic characters. This is the regex pattern I have incorporate for android (OS) in my project: public static final Pattern EMAIL_ADDRESS = Pattern.compile( "[a-zA-Z0-9\\+\\.\\_\\%\\-\\+]{1,256}" + "\\@" + "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}" + "(" + "\\." + "[a-zA-Z0