REGEX-Escape for: http://buyviagenonline.com/ - viagra for sale viagra plus <a href="http...

Your Input:
Result, the escaped string:
http\:\/\/buyviagenonline\.com\/ \- viagra for sale viagra plus \generic viagra\<\/a\>

What must the escaping look like for:
http://buyviagenonline.com/ - viagra for sale viagra plus <a href="http://buyviagenonline.com/#">generic viagra</a>

The excaped text for use in a regex is:
http\:\/\/buyviagenonline\.com\/ \- viagra for sale viagra plus \<a href\="http\:\/\/buyviagenonline\.com\/#"\>generic viagra\<\/a\>