title: How to regex, and add "-" between words?
body: <p>UPDATED</p>
  
  <p>I been looking around in the old interweb to see if there is any way I can regex this as part of a replace method I'm doing: str.replace(/\w[A-Z]/gm, "-")</p>
  
  <blockquote>
    <p>thisIsARegex</p>
  </blockquote>
  
  <p>into this:</p>
  
  <blockquote>
    <p>this-Is-A-Regex </p>
  </blockquote>
  
  <p>I tried to mess around on regex101 with matching a \w character followed by [A-Z] but failed.
  Any thoughts? </p>