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
Post a Comment