Why are you trying to block visitors based on their useragent? Anyone would be easily aboe to get around the block simply by editing their useragent to match what you want it to be. Some browsers even allow the useragent to be set to different values for different sites. All of the popular browsers (except possibly for Chrome) allow the browser owner to easily set the useragent to any value they like.
Why are you trying to block visitors based on their useragent? Anyone would be easily aboe to get around the block simply by editing their useragent to match what you want it to be. Some browsers even allow the useragent to be set to different values for different sites. All of the popular browsers (except possibly for Chrome) allow the browser owner to easily set the useragent to any value they like.
I'm not looking to block users based on user agent, I am allowing in certain cases as part of a wider approach etc I figured it out very easy just need to escape properly and format like !^...*