title: Regex for HTTP User Agent
body: <p>what Regex can be used to clear the HTTP User Agent of some of the information.
  (I am actually interested in simplifying the user agent string in order to identify the device id for mobiles easier)</p>
  
  <p>I would like to remove a string followed by a slash or a space and then digits and dots.</p>
  
  <p>Slash before version</p>
  
  <ul>
  <li>Mozilla/5.0</li>
  <li>AppleWebKit/537.36</li>
  <li>Chrome/31.0.1650.59</li>
  <li>Safari/537.36</li>
  </ul>
  
  <p>Space before version</p>
  
  <ul>
  <li>Android 4.4.2</li>
  <li>MSIE 10.0</li>
  </ul>
  
  <p>Thanks,
  Andrei</p>