The regex for a simple case -
can give me regular expression validate string _ _._ _ _
numbers, point @ 3rd position.
well, ^\d\d\.\d\d\d$
(or ^\d{2}\.\d{3}$
), depending on regex engine you're using.
depending on sort of matching function you're using, may not need ^
, $
(start , end) markers either.
if engine older 1 doesn't recognise \d
, can use [0-9]
instead.
Comments
Post a Comment