I'm trying remove div tag from variable using [Jsoup](https://jsoup.org/) library but It's not working with me.

*Code*

```
String test = "<div>hey</div>";
Document doc = Jsoup.parse(test);
doc.select("div").remove();
Log.w("log",test);

```

*The result*

```
2019-08-30 19:25:24.206 314-3434/com.test.app W/log: <div>hey</div>

```