Guest User

Untitled

a guest
Aug 20th, 2019
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let camelRE = /([A-Z])/g
  2.  
  3. let phrase = "thisIsACamelCaseString"
  4.  
  5. console.log(phrase.replace(camelRE, " $1")
  6.  
  7. /*
  8. this Is A Camel Case String
  9. */
RAW Paste Data