^[1-9][0-9]?(?:[,|][1-9][0-9]?)*$
说明:
^ # Start of string[1-9][0-9]? # Match a number between 1 and 99(?: # Start of optional capturing group: [,|] # Match one separator [1-9][0-9]? # and a number 1-99)*# any number of times (including 0)$ # End of string



