While searching for a mobile browser detection code, I came across this site: http://detectmobilebrowsers.com/
This site generates the code for popular browsers to detect using the USER AGENT of the browser used. It's free to use, and donation to keep the site alive is pretty much appreciated by the author.
This is another useful website, that is simple to use, but takes a while to dissect the code. You pretty much need to brush up on your regular expression to understand the code and what it compares. But if you are not worried about the code behind the detection, by all means, just paste the code to your site and set the redirection page.