Is it possible we have a {Filename without numbers or symbols } label?

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, xnview

Post Reply
easyart
Posts: 2
Joined: Sun Sep 28, 2025 3:59 am

Is it possible we have a {Filename without numbers or symbols } label?

Post by easyart »

I have been using MP for years. This is such a great software. Thank you so much for your great job.

Recently I'm using the 'bulk' function to add file name to images. Some of my images' filenames look like this

ABC (1).jpg
ABC (2).jpg
ABC (3).jpg
ABC (4).jpg
ABC (5).jpg
ABC (6).jpg
...

For these 6 files, I only want them to show ABC on the pictures. But obviously when I use {filename} now they will show ABC(1), ABC(2)…

It is great to have achieved this, and I am very grateful. But still wondering if there is a way that I have not thought of to make it show only ABC.

Or, if it is not possible at present, is it possible that we can add a version of {filename} in the future that removes the symbols and numbers?

Thank you for reading. Wish you have a nice day!
Franky
Posts: 307
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Is it possible we have a {Filename without numbers or symbols } label?

Post by Franky »

Will you need a suffix to differentiate them ?
They can't all be called ABC.
easyart
Posts: 2
Joined: Sun Sep 28, 2025 3:59 am

Re: Is it possible we have a {Filename without numbers or symbols } label?

Post by easyart »

Franky wrote: Sun Sep 28, 2025 2:01 pm Will you need a suffix to differentiate them ?
They can't all be called ABC.
Thank you for your reply.

Obviously I didn't explain myself clearly.
I don't need to modify the actual file name.
Just want the text to remain as ABC when I use {filename} to add the file name( as text ) to the image.

Thank you again for your reply.
Franky
Posts: 307
Joined: Fri Mar 06, 2020 1:28 pm
Location: France - BZH

Re: Is it possible we have a {Filename without numbers or symbols } label?

Post by Franky »

Sorry but I did not understand your request.
But to keep only the first letters of the name you can do this.
With this you only keep the first 3 letters
{Filename[-3]}
Post Reply