• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Problem, get an un wanted space when changing name

New Here ,
May 07, 2020 May 07, 2020

Copy link to clipboard

Copied

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. 

Unwanted space problem.PNG

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.

 

 

TOPICS
Bug , Problem or error

Views

750

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 08, 2020 May 08, 2020

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

 

One way to correct this would be as follows:

 

regex.png

 

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

Likes

Translate

Translate
Community Expert ,
May 08, 2020 May 08, 2020

Copy link to clipboard

Copied

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

 

One way to correct this would be as follows:

 

regex.png

 

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2020 May 15, 2020

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines