Using java regex for first name and last name

前端 未结 0 1360
南方客
南方客 2021-01-11 10:27

I am trying to validate the first name and last name.

private static final Pattern FirstName = Pattern.compile(
        "^[A-Za-z]{2,}$"
);

private         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题