Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript test if string starts with alphabet

/^[A-Za-z]/.test(str)
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript click on all links 
Javascript :: Odd number function in javascript 
Javascript :: javascript iterate object attribute name 
Javascript :: javas script add list 
Javascript :: convert int to float in javascript 
Javascript :: sequelize relation does not exist 
Javascript :: input radio trigger select jquery 
Javascript :: how to remove whitespace only from first position of string js 
Javascript :: nodejs user input 
Javascript :: how to prevent event capturing in javascript 
Javascript :: react native textinput no keyboard 
Javascript :: javascript json append array 
Javascript :: days array javascript 
Javascript :: react password hashing 
Javascript :: jquery insert after next element 
Javascript :: angular pipe to capitalize first letter 
Javascript :: check if an array contains a string in javascript 
Javascript :: saving text in javascript 
Javascript :: active js 
Javascript :: how to use the onload event n vue js 
Javascript :: chart js change axis label 
Javascript :: electron hide devtools 
Javascript :: async constructor javascript 
Javascript :: set timeout JS for loop 
Javascript :: moment compare time 
Javascript :: email regex pattern input css 
Javascript :: on resize javascript 
Javascript :: ajax current url 
Javascript :: js merge objects 
Javascript :: how to merge two objects into one in javascript 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =