What is REGEX for a number followed by a period?

EG is a bit of a form: 12.either 1.or 143. Thanks.

+5
source share
2 answers

It is he:

^\d+\.$
+7
source

The following will follow all your examples and should work with any regex implementation:

[0-9]+\.
+7
source

All Articles