+ Start a Discussion
Ramakrishna Reddy GouniRamakrishna Reddy Gouni 

apex string regex, how to remove space between anchor tags

Hi All, 

my xml input is not parsing due to spaces and un expected new lines. now i need to make it correct. i need to remove white space in tag name. 

example:
expected input : <country>India</country>
actual input : <count
ry>India</country>