followed with ‘I wasn’t aware is so important to you. I didn’t want to insult you and if you felt so, I apologize. The word fuck is one I use very often, but I’ll try to control myself around you’
Note I didn’t insult the coworker (no fuck you or fuck off), but simply said ‘fuck’ out loud due to a job error.
“I’ll try and be more professional in the future.”
This way you’re not judging them or yourself, you’re saying you understand that there’s a code of behavior the bosses expect everyone to follow.