Fairly Recent Breakup. Heeeelp.

I just recently got out of a relationship that had lasted for three years, and although I've been dealing with that fairly well, because it's truly what was best for the both of us, mainly because he was emotionally abusive, I'm now struggling with the feeling of being extremely lonely, and hurting because of it. 
I miss the feeling of someone wanting to be with me, and thinking that I'm absolutely fantastic, and loving me for who I am, and also just feeling a sense of security. 
I'm trying my best to resist the urge to run out and jump into a strangers arms.