/^[0-9][0-9-.]*[0-9]+$/u
I am trying to match with these like codes: 1.11122.5454.545 55 555.55 65656.75454
Not 111..444 and not 44545...444
How can I stop more than 1 dots between numbers
/^[0-9][0-9-.]*[0-9]+$/u
I am trying to match with these like codes: 1.11122.5454.545 55 555.55 65656.75454
Not 111..444 and not 44545...444
How can I stop more than 1 dots between numbers