JavaScript RegExp - [a-zA-Z]



Description

[a-zA-Z] matches any character from lowercase a through uppercase Z.

Example

Following example shows usage of RegExp expression.


   
      JavaScript RegExp
   
   
   
      
   

Output

Test 1 - returned value : f,i,r,s,t
Test 2 - returned value : S,e,c,o,n,d
Advertisements