I am try to replace below String
#cit {font-size:16pt; color:navy; text-align:center; font-weight:bold;}
With
#cit {font-size:16pt; color:red; text-align:center; font-weight:bold;}
i am writting a Java code for this
strbuf.toString().replaceAll(Pattern.quote("#cit {font-size:16pt; color:navy;
text-align:center; font-weight:bold;}"), "#cit {font-size:16pt; color:red;
text-align:center; font-weight:bold;}");
but the String not get replace? please help me
toString()directly?