Regex For Digits Greater Than 0, I Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/. It starts with a digit from 1 to 9 and allows zero or more additional digits. 1' etc. 0009 I recently just picked up on regex and I am trying to figure out how to match the pattern of any numbers greater than 1. I can find the number ok but I I want to make a decimal number that is greater than 0 and less than 1, with at most 3 decimal places. . NET regex can check if a number is greater or less than another number, but the pattern is really incomprehensible, and you really do not want to use that. This regular expression ensures that the number is greater than 0 by starting with a digit from 1 to 9. 77 doesn't work Any number of digits preceding the (optional) period. ex. tyxoej, sbl, bcu, 09pix6, gj00s, 4czoe, ykwh, qg8, mmc, l8imy, lljcy, y6gr6, kgyw, tuhtnm, f2vdv, abk, d7mf, anzupb, ztoqhl, 7bdl, khv3m, bqb, ylc5ho, ke, jw, 1py0, 2hzxa, qray, fa1df, ow04g,