try this generator Mod Rewrite Generator by GenerateIt.net
shouldn't it be the other way around?
The goal is to have visitors coming to url default.php?page= go to the new txt/ etc url.
anyways dunno why the htaccess redirects didn't work for me, spent a few hours trying to figure how it works.
But I had a programmer add a php redirect eventually, so it's all good now. I should just stay away from code lol