<name>My name is Tom but people call me as XYZ but my actual name is Tommy!</name>
- Now, I want to find "Tom" inside the specified xml tag, and replace it with Harry.
- Finding, multiple instances of "Tom" and replace it with "Harry" from the string inside the specified XML tag.
Example:
(?<=<name>)[a-zA-Z]*(Tom)[a-zA-Z]*(?=<\/name>),
- This is not able to find the word "Tom" from the specified string between XML tag.
<name>tag contain other tags?