SyntaxFix
Write A Post
Hire A Developer
Questions
$('#input').on('keyup', function() { var RegExpression = /^[a-zA-Z\s]*$/; ... });
\s will allow the space
\s