The response you got from your friends is typical. Others always offer pretty much the same advice: Divorce! End it! Move on! Be done with her!
It's part that they have no other answer, it's part that divorce or "ending it" seems to be a "solution" popular in society nowadays. The missing factor is that they're not walking in your shoes. Certainly, chances are, if you were asked the day before your wedding what you would do if you found yourself in this sitch, you'd have said the same thing. But now, things are different, because your emotions are involved, and because you have a history with this person.
Friends may be well-meaning and on your side, but their advice... that can interfere with your goals.