Monday, 22 August 2011

Regular Expression for a Float

^[0-9]*[0-9]+[.]?[0-9]*$
output:
123300             Valid
123300.            Valid
123300.00        Valid
123300..          Invalid
123300..0        Invalid






No comments:

Post a Comment

Table Partitioning in SQL Server

  Table Partitioning in SQL Server – Step by Step Partitioning in SQL Server task is divided into four steps: Create a File Group Add Files ...