I know its a roller coaster ride, but you need to act like your standing in line for a hot dog instead. Hang tough, it gets easier, I promise.
For now, just remember the more you let them two have their thing, the faster he's gonna come to his senses about her. If you allow yourself to play his game with him, your just pushing him back to her.