This regex matches the format required by NSX services. It can includes single ports, port ranges, comma-separated ports, or any mix thereof.
3389
49123-65535
80,443
80,443,100-200
It will not match any ports above 65535