92
rated 0 times
[
98]
[
6]
/ answers: 1 / hits: 153991
/ 10 Years ago, mon, may 5, 2014, 12:00:00
So I tried this:
if (/^[a-zA-Z]/.test(word)) {
// code
}
It doesn't accept this :
But it does accept this: word word
, which does contain a space :/
Is there a good way to do this?
More From » regex