I need to escape the "?" character in the url, so that it works with rewritten urls like search/why-is-it?-1.html
I currently have the following in .htaccess
RewriteEngine on
RewriteRule ^search/(.*)-([0-9]+).html$ index.php?search=$1&page=$2 [L]
Thanks