I am trying pattern validation for my input field.
^(OTC[0-9]{1,99})(,OTC[0-9]{1,99})*$
For the above pattern following inputs are valid:
OTC123,OTC567,OTC987
but I also want to allow whitespaces after commas:
OTC123, OTC567, OTC987.
Any help is appreciated