In the question here, I got the regexp to match one (or more) group of digits between 1 and 99 separated by | or , (both can be combined).
I want to update it to do the
It is unclear if 00 is a valid or invalid entry. If 00 is allowed then use this regex:
00
^[0-9]{1,2}(?:[,|][0-9]{1,2})*$
RegEx Demo 1
If 00 is not to be allowed then use this bit longish regex:
^([0-9]|[1-9][0-9])(?:[,|](?:[0-9]|[1-9][0-9]?))*$
RegEx Demo 2