Regexp that matches user-agents of end-user browsers but NOT crawlers with >90 % accuracy
- by knorv
I'm trying to construct a regexp that will evaluate to true for User-Agent:s of "browsers navigated by humans", but false for bots. Needless to say the matching will not be exact, but if it gets things right in say 90 % of cases that is more than good enough.
My approach so far is to target the User-Agent string of the the five major desktop…