This popular expression is not a dirty word but can be arrogant, so in formal situations I would use:
Non gli interessa
Non gli importa
I think fregarsene has more weight than the expressions above, so it gives more weight/arrogance/emotionality to the sentence, for example:
Non me ne frega nulla di lui, che faccia quello che vuole!
Non me ne frega niente del Grande Fratello, odio quel tipo di format televisivo.
It can become an insult when accompanied by a swear word:
Non me ne frega un cazzo di te, non ti considero nemmeno.