title: Finding the location of a character in a string
body: <p>I have a string: <code>"fdfdfd.dfdfd.dfdfdf.dfdfdf"</code>.  I want to get the location of the last dot.  I tried this:</p>
  
  <pre><code>Index = re.search(r"\w + '.' \w+$", string)
  </code></pre>
  
  <p>but it doesn't work.  How can I do this?</p>