REGEX with Layer7!

Hello,

Hope at least if someone can guide me to match a website :


Usually when we work on PERL & REGEX .. We try to match http://www.google.com/ by writing:

^http://www.google.co(m|.uk)/$

With my example I am matching only www subdomain for Google.
so I would be glad to know about the Layer7 in MT .. for example I need to know how to catch a website and do a rule in NAT or redirect the website to something else ( no need to use WebProxy).

You dont have to worry about mangling or NAT rules as already done! but the thing is I need to catch if somebody has only opened www.google.com .. there is no need to catch things like www.google.com/foo?bla&bla or subdomains like foo.google.com as I was focusing only for WWW.Google but hoping I can get an answer.

My target is to redirect www.google.com to an external Proxy outside the MT BOX but I know that there is an internal webproxy inside the MT.

Thank you

Ghassan