Answers for "upi id regex"

0

upi id regex

/^\w.+@\w+$/.test('rishi.21@axis')

/^\w.+@\w+$/.test('shruti@PNB')

/^\w.+@\w+$/.test('98765__210@upi')
Posted by: Guest on August-28-2020
0

upi id regex

public static boolean validateUPI(String upi){
        final Pattern VALID_EMAIL_ADDRESS_REGEX = Pattern.compile("^(.+)@(.+)$", Pattern.CASE_INSENSITIVE);
        Matcher matcher = VALID_EMAIL_ADDRESS_REGEX.matcher(upi);
        return matcher.find();
}
Posted by: Guest on June-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language