g1smd - 11:19 am on Jan 10, 2013 (gmt 0)
[^\ ]* makes space for any and every query string parameter of any length - and it gets stripped in the redirect.
If extensions other than
.htm are supposed to redirect, then replace the '
\.htm' bit with '
\.(html?|php?)' or whatever you need in both places.