MT -> WP migration, attempting to match urls

hey all,

I’m brushing up on my .htaccess and regular expression skills!

I just moved my MT blog to WP and am attempting to match the URLs so i don’t lose SEO juice.

but my .htaccess skills aren’t all that great and haven’t touched reg exps in a long time. So i’m trying to make this WP URL:


look like this MT URL:


it looks like in WP their %postname% is just substituting ‘-’ for any unusual characters while MT took out the slashes in dates, and then stuck a _ for spaces. can anyone help me with either an example of a substitution using a set of RewriteCond’s and RewriteRule’s, or a pointer to a webpage with examples of someone doing this thing?

Thanks in advance!