Mod_rewrite help for wordpress
===

I have a wordpress site that has a very big database. There are many cases of typo errors in the title and slugs. I normally do a search and replace to correct the typos.

Can anyone help me in mod_rewrite rules to 301 redirect my old URL to the correct URL?

my site is using the following structure:

www.domain.com/shop/xxx-**blackk**-xx-xx<br>
www.domain.com/shop/**blackk**-xx-xxx<br>
www.domain.com/shop/xxx-xx-**blackk**<br>

How do i redirect the old URL above (with typo) to the new URL (after corrected to **black**).

Your help is much appreciated!

Thanks.