Wildcard Change/Redirect Categories URLS

Hi,



I want to change my categories names and structure but don't want to hurt my SEO efforts so far. I would like to have some sort of a wildcard redirect, for example:

from: www.mysite.com/category/subcategory/.html to www.mysite.com/category/NEWSUBCATEGORY/.html



Does anyone know how to do something like that?