icelava.net

INSERT neural.pulsation INTO public_brain FROM flesh_processor WHERE neural.retention < 0.1
Welcome to icelava.net Sign in | Help
in Search

ASP.NET validation expression.

Last post 05-18-2004, 21:01 by icelava. 1 replies.
Sort Posts: Previous Next
  •  05-17-2004, 19:34 431

    ASP.NET validation expression.

    I need a validation expression to make sure that a user only enter either whole numbers like 1,56,34 etc or decimal numbers up to 1 decimal place like 0.8,1.5,2.7,9.9 etc

    I've tried /d[0-9]+ and other variants and still can't get it right.Any website where i can go to in order to see all the various validation expressions available and their syntax usage?
  •  05-18-2004, 21:01 432 in reply to 431

    Re: ASP.NET validation expression.

    Read the "Regular Expressions" chapter in the .NET Framework SDK to learn about their language and syntax. The expression is

    \d+(?:\.\d)?
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems