I have this java string:
String bla = '<my:string>invalid_content</my:string>';
How can I replace the ‘invalid_content’ piece?
I know I should use something like this:
bla.replaceAll(regex,'new_content');
in order to have:
'<my:string>new_content</my:string>';
but I can’t discover how to create the correct regex
help please 🙂
You could do something like