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)
I would like to remove a string followed by a slash or a space and then digits and dots.
Slash before version
Space before version
Try this regex:
You may notice that for this UA string there is more than 10 digits and dots. This is why I use