Write down following expression on ValidationExpression property of RegularExpressionValidator control ValidationExpression="^([\s]*[0-9]+[\s]*)" asp:RegularExpressionValidator>
This might be fullfill your requirement.
Liked By
Write Answer
Regular expression for space char
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
14-Mar-2011Write down following expression on ValidationExpression property of RegularExpressionValidator control ValidationExpression="^([\s]*[0-9]+[\s]*)" asp:RegularExpressionValidator>
This might be fullfill your requirement.