.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Steve Jackman
Imran Ghani
Santhakumar Munuswamy

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

Regular expression validator for string and white spaces

Posted By: softraj     Posted Date: July 05, 2010    Points:2   Category :.NET Framework
I want to use textbox with regular expression validator to accept only string with spaces. What is the validation expression for that?

Some body help me

Responses
Author: Sunil Yadav       [Moderator]      
Posted Date: July 06, 2010     Points: 5   

Hi,

Here is the sample code pattern you can try..

"^[0-9a-zA-Z ] +$"







Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend