Hoping vs. Expecting

How do you stay hopeful for the future but let go of expectations? I am tired of having to learn that life will never go according to plan.

What's funny is I don't even realize I have plans or expectations, until life doesn't meet them. Then I realize I have the whole thing plotted out, somewhere in my subconscious. Have I watched too many movies? Am I trying to imitate my parents? 

I don't know how to find the line between hoping and expecting, and it's a constant source of woe.