Search:
Namespaces
Discussions
.NET v1.1
Feedback
Expression for "Allow only numbers"
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngregexp' list
.
Ian Vink
What would the expression be (for use in the RegExpressionValidator in
ASP.NET) for "Allow only numbers or nothing at all")=20
Thanks in advance,
Ian
Reply to this message...
Olivier Jullian
try
[0-9]
it worked for us
----- Original Message -----
From: "Ian Vink" <
Click here to reveal e-mail address
>
To: "aspngregexp" <
Click here to reveal e-mail address
>
Sent: Monday, July 15, 2002 12:19 PM
Subject: [aspngregexp] Expression for "Allow only numbers"
What would the expression be (for use in the RegExpressionValidator in
ASP.NET) for "Allow only numbers or nothing at all")
Thanks in advance,
Ian
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Darren Neimke
/d is the "match a digit" identifier. Same as [0-9]
-----Original Message-----
From: Olivier Jullian [mailto:
Click here to reveal e-mail address
]=20
Sent: Tuesday, July 16, 2002 6:21 AM
To: aspngregexp
Subject: [aspngregexp] Re: Expression for "Allow only numbers"
try=20
[0-9]
it worked for us
----- Original Message -----=20
From: "Ian Vink" <
Click here to reveal e-mail address
>
To: "aspngregexp" <
Click here to reveal e-mail address
>
Sent: Monday, July 15, 2002 12:19 PM
Subject: [aspngregexp] Expression for "Allow only numbers"
What would the expression be (for use in the RegExpressionValidator in
ASP.NET) for "Allow only numbers or nothing at all")=20
Thanks in advance,
Ian
| [aspngregexp] member
Click here to reveal e-mail address
=3D YOUR ID=20
|
http://www.asplists.com/asplists/aspngregexp.asp
=3D JOIN/QUIT=20
|
http://www.asplists.com/search
=3D SEARCH Archives
| [aspngregexp] member
Click here to reveal e-mail address
=3D YOUR ID=20
|
http://www.asplists.com/asplists/aspngregexp.asp
=3D JOIN/QUIT=20
|
http://www.asplists.com/search
=3D SEARCH Archives
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com