Answers for "words regex with space"

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 "words regex with space"

Browse Popular Code Answers by Language