RETAIN THE DIFFERENT NAME CENTER

Post any Bulk Rename Utility support requirements here. Open to all registered users.

RETAIN THE DIFFERENT NAME CENTER

Postby cutiee » Tue Sep 26, 2023 4:18 am

Hi, I'm Jaja, New user here.

I have a lot of files. I want to retain the different names of animals with versions in the suffix (_v1.png)

here is the ex
xixa1093_Black_and_white_icon_for_adults_Bobcat_head__cartoon_s_3840f370-ce34-434e-87b7-09e6c9134692
xixa1093_Black_and_white_icon_for_adults_Bobcat_head__cartoon_s_e3256682-845d-463e-8bd6-e44e54910ffe
xixa1093_Black_and_white_icon_for_adults_Cheetah_head__cartoon__ce25a25d-526b-42ae-8e47-b4c18ee96f8d

I want only the names of the animals, I tried the remove method but they are not the same characters length. I want to have a result like this one: Bobcat_v1

Please help me. Thank you so much

Best regards
cutiee
 
Posts: 3
Joined: Tue Sep 26, 2023 4:14 am

Re: RETAIN THE DIFFERENT NAME CENTER

Postby cutiee » Tue Sep 26, 2023 5:26 pm

*sorry I'm can't edit my post, I want also to have a version or _v of every animals
Like for example:

Bobcat_v1
Bobcat_v2
Cheetah_v1
Cheetah_v2

Thank you so much in advance
cutiee
 
Posts: 3
Joined: Tue Sep 26, 2023 4:14 am

Re: RETAIN THE DIFFERENT NAME CENTER

Postby therube » Tue Sep 26, 2023 7:15 pm

Will they all have the string, "_head" in them?

If so...

1:RegEx
Code: Select all
Match:  (.*)(_head)
Replace: \1

Match anything up to _head
Keep only that matching part


10:Numbering -> Suffix, Sep. --> _
will get you your counter.
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: RETAIN THE DIFFERENT NAME CENTER

Postby cutiee » Wed Sep 27, 2023 12:01 am

Hi therube,

Sorry, I want the result to be only a name of the animals with a version like this:
Bobcat_v1
Bobcat_v2
Cheetah_v1
Cheetah_v2

Also, I tried your solution but sadly they are continuous versions like this:
Bobcat_v1
Bobcat_v2
Cheetah_v3
Cheetah_v4

I hope you help. Thank you so much
cutiee
 
Posts: 3
Joined: Tue Sep 26, 2023 4:14 am


Return to BRU Support