@Pattern
Jump to navigation
Jump to search
Overview
Example
@Pattern(regexp="^(0[1-9]|1[0-2])([\\\\/])([1-9][0-9])$", message="Not a valid expiration date")
private String expiration;
@Pattern(regexp="^(0[1-9]|1[0-2])([\\\\/])([1-9][0-9])$", message="Not a valid expiration date")
private String expiration;