Search found 2 matches

by shafferzee
10 Jun 2018 03:05
Forum: DOS Batch Forum
Topic: Help with removing line breaks and leading whitespace
Replies: 4
Views: 4554

Re: Help with removing line breaks and leading whitespace

Using JREPL for this task is a little overkill. You could use a single `FOR /F` command to output all the lines onto one line. I plan on sticking with JREPL due to the need of making more complex text transformations to this particular text block in the future. I feel like this is a good tool to le...
by shafferzee
09 Jun 2018 18:16
Forum: DOS Batch Forum
Topic: Help with removing line breaks and leading whitespace
Replies: 4
Views: 4554

Help with removing line breaks and leading whitespace

Hi guys - I'm searching for a way to remove leading whitespaces and line breaks from my text. I was successfully able to remove line breaks by using the following... call jrepl "[\r\n]" "" /m /f "input.txt" /o "output.txt" However, I'm a bit stuck on removing whitespace and am need of some help. Any...