How to match group of 10 numbers 1 or mores times (it should separate by , if more than one group).
pattern: 0123456789,9876543210,...
AND each group must start with 00
pattern: 0023456789,0076543210,00...
I try to do like this and stuck:
/(?:\d{10}(?:,(?!$)|$)){1,}/.test('1111111111')
There are patterns i want to:
/pattern/.test('0012345678') // should true
/pattern/.test('0012345678,0012345678') // should true