how you can change '?' to ','

this really is now

index.php?page=2&search=stackoverflow

i would like it to end up like this

index.php/page,2/search,stackoverflow

any idea?

RewriteEngine On
RewriteBase /
RewriteRule ^index.php/page,([0-9]+)/search,([a-zA-Z0-9]+)$ index.php?page=$1&search=$2 [QSA,L]

Should work. I examined it. Works presuming "page" is really a number, and "search" is really a character which fits a-zA-Z0-9