📜  upi id 正则表达式 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:54.332000             🧑  作者: Mango

代码示例2
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();
}