REGEX-Escape for: https://sofiapharmku.com/ - viagra price generic viagra 100mg <a href="...

Your Input:
Result, the escaped string:
https\:\/\/sofiapharmku\.com\/ \- viagra price generic viagra 100mg \viagra vs cialis\<\/a\>

What must the escaping look like for:
https://sofiapharmku.com/ - viagra price generic viagra 100mg <a href="https://sofiapharmku.com/#">viagra vs cialis</a>

The excaped text for use in a regex is:
https\:\/\/sofiapharmku\.com\/ \- viagra price generic viagra 100mg \<a href\="https\:\/\/sofiapharmku\.com\/#"\>viagra vs cialis\<\/a\>