Subject: Problem with this expression: ^\d{3}$
Posted By: ebukhman Post Date: 7/20/2006 2:54:14 PM
I'm using this regular expression
^\d{3}$
need to be able to enter combinations such as:
001
002
003
it works for all of then except:
008
009
Anybody know what the problem is?

Reply By: Paul Ardémue Reply Date: 10/24/2006 6:44:14 AM
Your expression works perfectly for me, even for 008 & 009. Check again that you are testing "009" and not "009 " or anything else.

Regular expression database (regex.fr)

Go to topic 36604

Return to index page 141
Return to index page 140
Return to index page 139
Return to index page 138
Return to index page 137
Return to index page 136
Return to index page 135
Return to index page 134
Return to index page 133
Return to index page 132