regex - Add spacebar in regular expression -


this question has answer here:

i use regular expression checking

public const string fullnameregularexpression = @"^[a-za-z0-9._-]+$"; 

how add "spacebar" in?

if looking 1 single space is: (" "), complete example can found in reference.

or if want match whitespace character (\n,\r,\f,\t, ), can use \s.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -