How do I make her forget about her almost-boyfriend, she is in contact with again?

She told you about talking to him. That means she at least respects you and thought you deserved to know. I don't know your exact relationship with her, but you should make sure she realizes you're an option. If you've been friends, mention something as going out that's more date like. You can't make her forget about the other guy, but as she's not yet dating him, she needs to know that you want to be. Worst case scenario is probably that she wouldn't be interested in you that way and wants to stay friends. Maybe just being patient. But if she's in a relationship with him, you'll need to stop pursuing her that way. Don't try to break them up, you'll only lose her. Be supportive of whatever she decides to do. Hope this helps.

/r/askwomenadvice Thread