title: regular expression to remove extra spaces from the line in python
body: <pre><code>data =  "        Taylors Lakes, VIC        "
  </code></pre>
  
  <p>I need regular expression to remove extra spaces from this string but not from between the words so that the string looks like this</p>
  
  <p>data =  "Taylors Lakes, VIC" </p>