camelcase to hyphenated javascript
let dashed = camel.replace(/[A-Z]/g, m => "-" + m.toLowerCase());
camelcase to hyphenated javascript
let dashed = camel.replace(/[A-Z]/g, m => "-" + m.toLowerCase());
convert camelcase to sentence case javascript
var text = 'helloThereMister';
var result = text.replace( /([A-Z])/g, " $1" );
var finalResult = result.charAt(0).toUpperCase() + result.slice(1);
console.log(finalResult);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us