Shame, Guilt And Regret

In your opinion, is shame or guilt ever a useful emotion? And is possible to have regret without shame or guilt? Can you be sorry for something you did but not feel guilty? Or is it better to feel guilty when you do something and recognize I suppose you have to change your thought about it but any other insight on that?