Guest User

Untitled

a guest
Oct 15th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. str
  2. .replace(/([a-z])([A-Z])/g, '$1-$2')
  3. .replace(/[\s_]+/g, '-')
  4. .toLowerCase()
Add Comment
Please, Sign In to add comment