I need to replace the ' ",' to '",'. I need to remove all spaces but not the space in Abc CDE. In the end of each line there's also a space that I want to remove.
I was trying powershell but this doesn't work:
set "search=' ",'" set "replace='",'" :DoReplace echo ^(Get-Content "aaa.TXT"^) ^| ForEach-Object { $_ -replace "%search%", "%replace%" } ^| Set-Content "New.txt">Rep.ps1 Powershell.exe -executionpolicy ByPass -File Rep.ps1 This is the example I use:
"0","46","","","","Abc CDE ApS ","","","","","81602832 ","","","","","","","","","","" "0","46","","","","Abc CDE ApS ","","","","","81602832 ","","","","","","","","","","" "0","46","","","","John Stewart ","","","","","85505637 ","","","","","","","","","",""