I\'d like to extract full the OS name and browser from the user agent string. How can I do this?
I think it is tricky to get the full OS name and full browser name since many browsers identify themselves differently. You will probably need some fancy regex and then it might not even work 100% of the time.
Here is the simple method I use to identify the browser. You may be able to adapt it to suit your needs.