With the following RegExp I can capture the valid group.
^(\d+(,\d+)*)$
However, the capture must obtain invalid groups, as an example:
# Válido
12312,12312312,312312,1,3
1,2,3
999,999
# Inválido
,12312.*
123,12312,,12312312
asdasd,123...
asked by
12.07.2018 / 19:02