Page 1 of 1
Remove leading space in filename

Posted:
Thu Dec 25, 2025 11:45 am
by schwane
I have a file that starts with a space and then a random date each month. It has other spaces later in the filename.
I want to just remove the leading space. There is not pattern to match, just want to remove the leading space.
Seems easy but stumped, thanks for the help.
Re: Remove leading space in filename

Posted:
Fri Dec 26, 2025 9:31 am
by Mr_Noodle
Look up match patterns in the manual. Using those, you can set up a pattern to match a space followed by a custom text attribute set up to match anything. In a Rename pattern, you can then use that custom text attribute, which contains the name of the file minus the leading space.
Re: Remove leading space in filename

Posted:
Fri Dec 26, 2025 12:47 pm
by schwane
How do I replace text with just the first space and not the other spaces.
Re: Remove leading space in filename

Posted:
Mon Dec 29, 2025 9:32 am
by Mr_Noodle
You do not use the replace text feature here. Please refer to my previous post. You need to use match patterns.