Answers for "regex for no space in string"

3

only letters and spaces regex

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

RegEx for no whitespace at the beginning and end

^[^s]+(s+[^s]+)*$
Posted by: Guest on October-24-2021

Browse Popular Code Answers by Language