Check out example codes for "java replace all xml decoding". It will help you in understanding the concepts better.

Code Example 1

String prefixedString = xmlString.replaceAll("<(?![/?])", "<mb:");

Learn ReactJs, React Native from akashmittal.com