how can rename regex after a world delete

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

how can rename regex after a world delete

Post by drjs5x »

hi dears

test42345435[video]_720p_low_dfdsfgdsfg.mp4
test42345435[video]_240p_low_df333dsfgdsfg.mp4
test42345435[video]_720p_low_dfdsf8888888gdsfg.mp4
test42345435[video]_480p_low_dfdsfg6865879867dsfg.mp4

how can regexp after [video] delete.
after regexp rename
test42345435[video].mp4
test42345435[video].mp4
test42345435[video].mp4
test42345435[video].mp4

second question regexp
for result
test42345435.mp4
test42345435.mp4
test42345435.mp4
test42345435.mp4
Sincerely
newbie or not...........

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how can rename regex after a world delete

Post by highend »

Code: Select all

^([^_]+?)(_.*)(\.[^.]+$) > $1$3

Code: Select all

^([^\[]+?)(\[.*)(\.[^.]+$) > $1$3
One of my scripts helped you out? Please donate via Paypal

drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how can rename regex after a world delete

Post by drjs5x »

^([^\[]+?)(\[.*)(\.[^.]+$) > $1$3
very good highend
thank you very much highend and xyplorer.
:appl: :appl: :appl: :appl: :appl:
newbie or not...........

drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how can rename regex after a world delete

Post by drjs5x »

conflict ??? dupe... how can solution? can we add suffix this proplem?
example result testA1.mp4 testA2.mp4 testA3.mp4 ... 1 2 3 4 5... etc no overwrite... ?
possible?
Sincerely
Last edited by drjs5x on 10 Aug 2017 20:10, edited 1 time in total.
newbie or not...........

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how can rename regex after a world delete

Post by highend »

how can solution
Use a script instead?
One of my scripts helped you out? Please donate via Paypal

drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how can rename regex after a world delete

Post by drjs5x »

no proplem . script or right click rexep rename.
any solution. no proplem. script or anything.
:idea:
Just be a solution.. it does not matter.. script or any method ..
thanks.
newbie or not...........

drjs5x
Posts: 152
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: how can rename regex after a world delete

Post by drjs5x »

i fixed dear .
step 01= right click batch rename *_<#00> step 02= regex rename. thanks big coder.

no again :( proplem.
i will fix :))
Sincerely.


batch rename <#00>_*
regex rename ^([^\[]+?)(\[.*)(\.[^.]+$) > $1$3
batch rename *_<#00>
regex rename " \d+_ > " without "

fixed..
newbie or not...........

Post Reply