I'm trying to replace the text with PHP in a div,\[quote\] 18 West Main Street\[/quote\]Though I needed it to be changed if the text is \[code\]19 West Main Street\[/code\]. If it's that, it would be changed to something else. I've tried doing this with an array, but have had no luck.http://php.net/manual/en/function.array-replace.php, though I can't find a way to do this with an if statement and including the changed text from a div tag.