Hello, I need a RewriteRule that:

Will redirect:
www.mysite.com/c/XXX
www.mysite.com/c/XXX/
www.mysite.com/c/XXX/sdagasdg
www.mysite.com/c/XXX/whatever/whateeverrrrrr


TO:
www.mysite.com/c/YYY
www.mysite.com/c/YYY/
www.mysite.com/c/YYY/sdagasdg
www.mysite.com/c/YYY/whatever/whateeverrrrrr


Does anybody know how to do it?
I know that if I want to redirect
www.mysite.com/c/XXX
to
www.mysite.com/y/XXX

I can use: RewriteRule ^c/(.*)$ /y/$1 [R=301,L]


But what can I do here?