REGULAR EXPRESSION FOR SPACE CHAR

Amit Singh

Total Post:103

Points:721
Posted by  Amit Singh
C# 
C#
 2073  View(s)
Ratings:
Rate this:

problem in creating validation expression for space character in case of numeric data entry in text box

  1. Awadhendra Tiwari

    Post:126

    Points:882
    Re: Regular expression for space char

    Write down following expression on ValidationExpression property of RegularExpressionValidator control  ValidationExpression="^([\s]*[0-9]+[\s]*)" asp:RegularExpressionValidator>

    This might be fullfill your requirement.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!