[ antp.be > Forum ]

[ FAQFAQ - SearchSearch - MemberlistMemberlist - UsergroupsUsergroups - ]

[ RegisterRegister - ProfileProfile - Log in to check your private messagesLog in to check your private messages - Log inLog in ]


how to change *( into * ( with space

 
Post new topic   Reply to topic    www.antp.be Forum Index -> Ant Renamer > Help
Author Message
namron
PostPosted: 2017-08-30 13:07:17    Post subject: how to change *( into * ( with space Reply with quote
View user's profile Send private message hello,

i have a problem where i donīt know how to fix it.

got plenty of files with a certain naming, followed by a "(" directly after the last letter.
now i want to have a space inbetween.

could be so easy [change "(" into " (" ] if i wouldnīt have a large number of files, where the space is already existing.
if iīm doing it like mentioned above, iīll get a double spacing, which is not allowed.

does anybody have an idea how to approach this problem?

e.g

existing file : track1(solo).mp3
should be : track1 (solo).mp3 [just 1 spacing inbetween]

cheers nam
antp
Site Admin
PostPosted: 2017-08-30 20:54:52    Post subject: Reply with quote
View user's profile Send private message Visit poster's website You could then replace double spacing by a single spacing

Or else if you want to do exactly the change asked, that can be achieved using regular expressions.
On the regular expression action page, enter this as expression:
([^\s]+)\((.+)
and this as new name:
$1 ($2
namron
PostPosted: 2017-08-31 10:29:11    Post subject: Reply with quote
View user's profile Send private message Hello antp,

thanks for your hints!

"Replace double spacing by a single spacing"
So simple, so effective! i thought way to complicated!!!
And it works.

Changing by regular expression just worked for a single file.
Donīt know why it didnīt run through the other files.

But nevertheless, you helped me a lot

Thank you

Cheers Nam
antp
Site Admin
PostPosted: 2017-08-31 18:52:15    Post subject: Reply with quote
View user's profile Send private message Visit poster's website Strange, it would be worth seeing what the other names look like, by curiosity
Display posts from previous:   
View previous topic :: View next topic  
Post new topic   Reply to topic    www.antp.be Forum Index -> Ant Renamer > Help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
Template made by antp