Swear like a trooper
To use bad language excessively; dates from the early 18th century. Cavalrymen, especially non-commissioned troopers, were notorious for their coarse language and behaviour. See also Trooper.