From looking through the options, it appears Battlefield 3 does include some form of language filtering, though it wasn't something I bothered with. If foul language bothers you, a filter would be welcome—and if the game lacks one, you can often turn down the character voice volume in the audio settings as a workaround.