我想检查某个字符串是否只包含数字和逗号,例如:
字符串:12,312,312,3212,3111 应该没问题 字符串:fe,32,423,4,dsd - 应该不正确。
java string numbers comma
comma ×1
java ×1
numbers ×1
string ×1