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

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -