Replace space with UnderScrore validation

Replace space with Underscore validation  

 
export const replaceSpaceWithUnderscore = name => {
    return lowerCase(name.split(' ').join('_'));
}
 

Comments

Popular posts from this blog

Image Preview Before upload image into ReactJs

Format mobile number to this format "(845) 963-2545" #mobileFormat