java replace all xml decoding code example Example: java replace all xml decoding String prefixedString = xmlString.replaceAll("<(?![/?])", "<mb:");