Skip to content

Instantly share code, notes, and snippets.

@hotdang-ca
Created July 16, 2019 15:17
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hotdang-ca/f73851f460584a3b7b2a94470e6ab557 to your computer and use it in GitHub Desktop.
CamelCase to Camel Case
console.log("JamesPerihIsCool".replace(/(?<!^)(?=[A-Z])/g, ' '));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment