I have a block of code that is in the format of a string. It's got a variable name of my_string looks like this:
'<div class="section page-centered"><div><b style="font-size: 24px">About
Us</b></div><div>At <a href="https://close.com/" class="postings-
link">Close</a>, we\'re building the sales
communication platform of the future. With our roots as the very first
sales CRM to include built-in calling, we\'re leading the industry toward
eliminating manual processes and helping compa
nies to close more deals (faster). Since our founding in 2013, we\'ve
grown to become a profitable, 100% globally distributed team of ~33 high-
performing, happy people that are dedicated to b
uilding a product our customers love. </div>'
I want to keep everything in that block except the backslashes. I've seen many questions and answers here where the solution would be
new_string = my_string.replace("\\", "")
But I just get the same output. What am I doing wrong here?