How do you remove leading spaces from multiple lines?
Posted: Wed Sep 07, 2016 6:09 am
I need the RegEx expression for removing leading spaces on each line for many different files. I have tried many different expressions, but none have worked. Can anyone provide the correct syntax?
I am using Batch commands/Batch Editor feature where you enter the RegEx expression and replacement value.
I have the Regular Expression and Multi-Line Anchors checked.
I want to trim the leading spaces up to the first non-space character from every line, in every file in a specified Start Location (Folder).
I have tried ^[ ]+ and ^[ \t]+ but they don't work.
Any help is appreciated.
I am using Batch commands/Batch Editor feature where you enter the RegEx expression and replacement value.
I have the Regular Expression and Multi-Line Anchors checked.
I want to trim the leading spaces up to the first non-space character from every line, in every file in a specified Start Location (Folder).
I have tried ^[ ]+ and ^[ \t]+ but they don't work.
Any help is appreciated.