I have a string like this :

```
$string = "somehting<br><br>";

```

When I try `str_replace()` like this:

```
echo str_replace("<br>","<c>",$string);

```

The output string doesn't change at all.

What I tried:

```
echo mb_detect_encoding($string); // returns UTF-8
var_dump(strpos($string, "<br>")); // bool(false)

```

I have edited the string with [html dom node class](http://sourceforge.net/projects/simplehtmldom/) before and now I really don't know what is wrong.

I have tried to reproduce the problem on sandbox.onlinephpfunctions.com with real string and it works.

So I am unable to reproduce the problem.