lucy24 - 7:09 pm on Sep 30, 2011 (gmt 0)
Do you mean that those three specimens are the complete UA? Ugh. (That was directed at the stupid robots, not at your htaccess!)
One way is with nested parentheses:
Here you're not capturing, just using parentheses to keep a group together. If htaccess recognizes \S (I never remember this stuff), you could even cover all bases with
so they don't bob up next week and throw a bare "Mozilla/4.0" at you.
If you use pipes, note that they are checked before anything else, so
does not mean the same as