For some weird reason, I can't seem to figure out how to solve my current issue.
I have a string that contains this string /partners:
and I wish to remove all occurrences of /partners:
from the string
I have tried the below code
retrievedData = retrievedData
.replace("/\/partners:", "")
But for some weird reason it is not working.
Any help would be greatly appreciated.