I am trying to create a command line (or .bat file) with a regular expression which has to replace * (multiple space characters) with (single space character). Replace multiple space characters with only a single space character. In Unix we can use sed. However in our case this is not possible and installing sed is not an option.
Any ideas?
I am trying to create a command line (or .bat file) with a regular
Share
this should work in the most cases.If you have files with reeeeeeally a lot of spaces you’ll need to add more expressions with
?(the also could be inserted in for loop but this was easier 🙂 ).