title: Regex string doesn't contain 2 dots in a row
body: <p>I'd like to know if this regex expression is correct for checking that a string doesn't start with a dot, doesn't end with a dot and contains at least one dot anywhere but not the start or end:</p>
  
  <p>My issue is that I can't figure on how to check if there's 2 dots in a row. </p>
  
  <p><strong>/^([^.])+([.])+.*([^.])$/</strong></p>