It just takes time...once your D is final that will help as well. Even though it is a piece of paper it still has an impact. Then when you start dating again that will help also. Eventually you get to a point of acceptance but there is not one magic trick that makes you push them out it is just a combination of things.
Truthfully being separated is the best thing, it's like being D'd without the paperwork. At least that is how I perceived it.