smartness -3 Junior Poster

I know this may be a apache related question, but can anyone help me on this issue...


I need help on paginating my script, so the and I want to use
search.html for the first page (without page number)
search-2.html for the second page
search-3.html for the third page and so on...

where "search" could be any keyword, and the number is the &page=X parameter!

this piece of htaccess rules Doesn't work, where am I wrong?

RewriteRule ^(.*)\.html$ index.php?search=$1
RewriteRule ^(.*)\-(.*)\.html$ index.php?search=$1&page=$2