Could you tell me how to enter integers or decimals greater than 0 in regular expressions?

/ ^ (?: [1-9] d * | 0) (?: .d +)? $/

I can enter 0

Mar.11,2021

try this

/^([1-9]\d*.?|0.)\d*$/

0 
/(^[1-9]([0-9]+)?(\.[0-9]{n})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([n])?$)/
0 
/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^[0-9]\.[0-9]([0-9])?$)/
0 
/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/

^(?!0(?:\.0+)?$)(?:[1-9]\d*|0)(?:\.\d+)?$

^([1-9]+\d*([.]\d+)?)|(0[.]0*[1-9]+)$

I need you to give me some test samples

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea4c9b-1d04.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea4c9b-1d04.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?