I receive from internet-service html code:
String html = Service.getHtml();
In html i have for example:
<div style="text"></div>
i would like use in replace 'style="text"' to for example 'new="aaa"':
String new = html.replace("style=\"test\"", "new=\"aaa\"");
but this not working. It probably did not find the text with backslash.