I have a string which has multiple spaces I am able to remove multiple spaces but I am not able to remove space between one word
Below I have attached sample
Input string = "CENTR. REGIO 28991090 05.00 145320 W3 D VERVANGT 03.01 145320 W3 "
output string required CENTR.REGIO 28991090 05.00 145320 W3 D VERVANGT 03.01 145320 W3
so If you see the CENTR. REGIO it has space and it is a name so I want to remove the space between these two, I am able to remove spaces between different words but not able to remove between name