title: Regular expression to parse useragent string
body: <p>I need extract data from a string. Heres an example:</p>
  
  <blockquote>
    <p>Mozilla/5.0 (Macintosh; U; PPC Mac OS
    X; tr-tr) AppleWebKit/418 (KHTML, like
    Gecko) Safari/417.9.3</p>
  </blockquote>
  
  <p>I want to get what's after the "Safari/" (417.9.3) <strong>but</strong>:</p>
  
  <ol>
  <li>The "Safari" string can be in any character case and can be anywhaere in the string.</li>
  <li>The version is separated from "Safari" by "/", " /", "/ ", " / " or any whitespace.</li>
  <li>The version string end by any whitespace, ")", "(", ";", or the end of the string.</li>
  </ol>
  
  <p>Anyone can help me build this up?</p>
  
  <p>Thanks!</p>