I’ve been searching and searching but just can’t find the solution.
I need to remove the dots in the tags of an XML doc with RegExp in c#….
so for example:
test <12.34.56>test.test<12.34>
should be:
test <12346>test.test<1234>
So basically removing dots but only in the tags…. any ideas?
replaces a dot with the empty string only if the next following angle bracket is a closing angle bracket.
This is of course brittle since closing angle brackets might occur inside the text between tags, but if you’re sure that won’t be the case, you should be OK.
Explanation: