Answers for "regex pattern for only string and space"

3

only letters and spaces regex

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

regec any character but a space

S  # Note this is a CAPITAL 'S'!
s is anything but a space
[^s] should same thing
Posted by: Guest on April-03-2021
-1

regular expression search for any character until Space

/^[a-zA-Z-]*/
									Creator:Zenonymous
Posted by: Guest on December-07-2020

Code answers related to "regex pattern for only string and space"

Browse Popular Code Answers by Language