Skip to main content
Participant
May 7, 2020 12:30 PM UTC
Answered

Problem, get an un wanted space when changing name

Hi,

uses Bridge to change name on a serie of files that are going to be exported into a database. When I change the file I get a space before the name starts and I can't get rid of it. It looks allright but when I do import the files into the database it doesn't accept the files as there is a space before the name starts. 

If I try to rename manualy (not possible in the longrun as I have thousands of files to do it on) it doesn't accept it as the name is the same. But it is not! It is a name with and without an extra space.

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Stephen Marsh
Stephen MarshCorrect answer
Community Expert
May 9, 2020 12:49 AM UTC

It is hard to comment on why, without seeing the original Batch Rename Tool settings.

 

One way to correct this would be as follows:

 

 

^\s+|\s+$   (all leading and trailing white space characters)
^\s+        (all leading white space characters)
\s+$        (all trailing white space characters)

2 replies

Participant
May 15, 2020 9:31 AM UTC

Hi and thanx. You gave me a great solution, the one that works 🙂 Thanx a lot!

Translate
Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
May 9, 2020 12:49 AM UTC

It is hard to comment on why, without seeing the original Batch Rename Tool settings.

 

One way to correct this would be as follows:

 

 

^\s+|\s+$   (all leading and trailing white space characters)
^\s+        (all leading white space characters)
\s+$        (all trailing white space characters)
Translate