I'm trying to identify IE11's various user agent strings using regex. I've read elsewhere that IE11 can be identified by having Trident/7.0 along with rv:11.0 however IE9 and IE10 have the same thing, but they also have MSIE somewhere in the beginning (before Trident).
How do I write a regex string that matches the Trident and the rv:11 but also excludes the MSIE?
Thanks!