I have feed that's already broken down into the content I need. Part of that content contains things such as &\;
and "\;
.
I'm using PHP's str_replace()
to find and replace them to be their correct html character entities (ex. &
). However, it won't find this:
$find = array('&\;', '"\;', '\;');
And I would replace them like this:
$replace = array('&', '"', ';');
What am I missing in order for the function to find them?