Answers for "regex to allow spaces and characters"

3

only letters and spaces regex

/^[a-zA-Zs]*$/g
Posted by: Guest on April-12-2021
-1

space allow in regex

Just add a space in your character class.

^[a-zA-Z0-9_ ]*$
Posted by: Guest on February-19-2021

Code answers related to "regex to allow spaces and characters"

Browse Popular Code Answers by Language