@phxguy2001,
dang... crazyness...
1) either fix your marriage (no contact with your"friend") or...
2) divorce from your unhappy marriage and rescue your friend.
theres no in between. wouldnt it be nice if you could have the best of both worlds? but that isnt the case in reality. be mature, and let your wife go or get some marriage counseling. Marriages arent easy. and things wont change until you express your frustrations with your wife. If nothing can or will change, then divorce her!
affairs never end well... NEVER.