I have the same problem! What I've done is a reward system. My reward is a desert that's not really bad for me. Like two macaroon about 140 calories, or an ice cream bar at around 120. If I feel I've done a good job that day and I'm craving something between 7 and 9 I reward myself with a sweet. I just have to remind myself that if I "behave" during the day, I get a special reward at night!
Also, when I start to think about food I either drink water, because they say a lot of times we eat because we're bored or we haven't had enough water. Or, I chew gum! Gum always works for me :)