How do I get rid of all the apostrophes in this string:
text = "‘https://google.com/’"
I've tried this but it just returns the string with the first apostrophe gone and the end one stays and messes up my get request...
text = "‘https://google.com/’"
if "'" in text:
text = text.replace("'", '')
By the way, google.com is supposed to be replaced with a t.co link but stack doesn't allow it