Changed Regex pattern

Now it will allow underscores and spaces.