Regular Expressions 101

Community Patterns

First Character can not be space, and allow only characters

0

Regular Expression
ECMAScript (JavaScript)

/
^\S.*[a-zA-Z\s]*$
/
g

Description

First character can not be space and only characters are allowed

Submitted by anonymous - 2 years ago