Edge Redirector regular expression example

If you are using Advanced Criteria with Edge Redirector and want to set up a regular expression that appends the incoming path and query string to the domain http://www.redirect.com, you might set it up like this in the Cloudlets Policy Manager:

In this case, the Regular Expression value is http://([A-z|\.]*)/(.*) and the Redirect URL (substitution pattern) value is http://www.redirect.com/\2. For example, if the incoming URL is http://example.com/springsale.htm, it will be redirected to http://www.redirect.com/springsale.htm. However, if the incoming URL is https://example1.com/flashsale.htm, it will not be redirected because both HTTPS and the number in the host name do not match.