Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Need a regex..by littlemonk (Sexton) |
on May 21, 2012 at 13:55 UTC ( [id://971616]=note: print w/replies, xml ) | Need Help?? |
it should match non-decimal value also ...example 12,123, and it should not match more than 3 digits before and after decimal..i have one regex(/^\- \+{0,1}0-9{0,3}(\.){0,1}0-9{0,3}\%{0,1}$/) but its accepting 1234(more than 3 digits before decimal) ... plz help me
In Section
Seekers of Perl Wisdom
|
|