javascrip regular expression for name with space

var re = /^[a-zA-Z\s]*$/;

if(re.test(‘Sachin Makwana’)){

alert(‘in’);

} else {

alert(‘out’);

}