Some of you may have heard about the 21 days rule: if you do something for 21 consecutive days, the new routine gets programmed into your subconscious. You can try this rule for all cravings, addictions or other pernicious habits you want to get rid of. With every passing day your confidence level rises that you will resist the next temptation.
The Law of Attraction seems to be at work as well: what you do and what occupies your mind, you attract further like a magnet. Likewise, as you steadily walk away from your habit, it slowly disappears from your life.
What is left, however, is the uphill task of making it trough the first few days. Only willpower can get you through that. It will get progressively easier, so stay the course!