My site has a place where users can post comments. For some reason, whenever someone posts a single quote ['], it puts a forward slash in front of the quote. I was wondering if there was a way to get around that, like a str_ireplace(); function. I tried it, and you can't do it like this: $Comment = str_ireplace("\'", "'", $Comment); Now, due to the forum style, it makes it hard to see what I posted. With spaces: $Comment = str_ireplace(" \' ", " ' ", $Comment);