Check decimal and total length of number

Using regex, I can check if it is decimal or not


But what I want to control is total length of those digit.


But I still cannot control it.

Source: regex

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.