Consider the following sentences:
- He is trying to break his habit of biting his nails.
- He is trying to break the habit of biting his nails.
- He is trying to break his nail-biting habit.
- He is trying to stop biting his nails.
In my native language, sentences 1 to 3 sound formal because the word "habit" is used. In casual conversations we would say the last sentence.
Is this the same in English? Do sentences 1 to 3 sound formal?