I have this string
"<code>...code1....</code><code><b>kjkjk</b></code>".replaceAll("\\<.*?>",">");
expected output
<code>...code1....</code><code>>b<kjkjk </b<</code>
what i want to do is replace < with < and > with > between all <code> tag using single regular expression.
How can i do that ? Is it possible using single regular expression or i will have do separate replaceAll() for < and > ?