Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

validate name in javascript

 validateName(x)
  {
    if(/^[A-Za-zs]+$/.test(x))
      return true;
    else
      return false;
  }
Comment

PREVIOUS NEXT
Code Example
Javascript :: export type you may need an appropriate loader to handle this file type 
Javascript :: randome words api 
Javascript :: scroll to a tag javascript 
Javascript :: node string to json 
Javascript :: nestjs create controller with cmd 
Javascript :: map over object javascript 
Javascript :: how to add react scroll scrollable link 
Javascript :: detect button click jquery 
Javascript :: check textbox is empty in jquery 
Javascript :: javascript repeat element in array 
Javascript :: read keyboard reactjs 
Javascript :: javascript typeof undfined 
Javascript :: how to clear pod cache in react native 
Javascript :: remove undefined values from object javascript 
Javascript :: remove key item from local storage 
Javascript :: react interpolation string html 
Javascript :: how to get current year in nodejs 
Javascript :: adding integers jquery 
Javascript :: Ajax Form All Data Send 
Javascript :: node js random number generator 
Javascript :: a quick introduction to pipe and compose javascript 
Javascript :: setting proxy in npm 
Javascript :: fs file already exists 
Javascript :: javascript clone class prototype 
Javascript :: get scroll position jquery 
Javascript :: next js active link 
Javascript :: javascript check empty object 
Javascript :: jquery select radio by name 
Javascript :: display block class javascript 
Javascript :: how to toggle the classlist in Javascript 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =