MultiRename Tool - find position of character or string

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Operater
Junior Member
Junior Member
Posts: 17
Joined: 2008-12-10, 10:05 UTC

MultiRename Tool - find position of character or string

Post by *Operater »

hi
I have these files:
random text abcabc-random lenght 11-abcabcabc.PDF
second random text-random lenght 8787-defdefdef.PDF
once more text abc-random lenght 234324-fghfghfgh.PDF

how I can find first and second occurrence of "-" string (to manage with text within two "-" string
Last edited by Operater on 2014-08-19, 12:47 UTC, edited 1 time in total.
1. by computer
2. install TC
3. install OS
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

Regex search for
(.*)-(.*)-(.*)
the text between the dashes will be cought in $2
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

MultiRename Tool - RegEx Search match between hyphens dashes

Post by *Stefan2 »

Hi Operater
Could you please use an descriptive subject line for your threads?
Like: MultiRename Tool - Find text between "-"
That helps others to find this answer too, if they need them. Thanks.





 
Operater
Junior Member
Junior Member
Posts: 17
Joined: 2008-12-10, 10:05 UTC

Post by *Operater »

@solid
thanks!

@Stefan2
sorry,
I planed subject "find position of character or string in file name" but, in hurry I forgot
I will do it now
1. by computer
2. install TC
3. install OS
Post Reply