code: def extract_browser(value)
        browser = value.to_s.split(/\d+/)[0]
        browser = browser.to_s.split('|')[0] if browser.to_s.include? '|'
        browser
      end
docs: Extracts browser from browser string
  
   @example
     extract_browser(:'safari5|linux|iphone') will extract
   browser = safari
  
   @param  [String] the browser string passed into the method
   @return [String] the browser value