in regex i need help urgent

<code>
  <RAM>s2</RAM>
  <HARI>s2</HARI>
</code>
<base>
   <RAM>s2</RAM>
   <HARI>s2</HARI>
</base>

it should replace only once I want to replace under code only

  <HARI>s2</HARI>
 <HARI>as3e</HARI>

`



Read more here: https://stackoverflow.com/questions/64400435/in-regex-i-need-help-urgent

Content Attribution

This content was originally published by sunil barik at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: