regex - Regular expression accepts all special characters except space -


i gave validation using regex not allowing special characters. want give space within regex. how this?

i have created regex follows not allowing special characters

@"^([a-za-z0-9])*" 

how include space within this?

if trying add space set of allowed characters, insert character class.

@"^([a-za-z0-9 ])*" 

Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -