Answers for "regexp words without spaces"

0

regex to remove spaces

//..
return str.replace(/s/g, '');
//..
Posted by: Guest on October-06-2020
1

regex only letters not spaces

var re = /^[A-Za-z]+$/;
Posted by: Guest on November-09-2020

Code answers related to "regexp words without spaces"

Browse Popular Code Answers by Language