Multi-Rename: search&replace chars and numbers

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Alexisback
Junior Member
Junior Member
Posts: 80
Joined: 2016-10-26, 20:04 UTC

Multi-Rename: search&replace chars and numbers

Post by *Alexisback »

Hello everyone
I have several files to rename
from

Code: Select all

St 3 Ep 171
I would like to get this

Code: Select all

S3E171
tips?

thank you :wink:
User avatar
Stefan2
Power Member
Power Member
Posts: 4124
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Multi-Rename

Post by *Stefan2 »

FROM:
St 3 Ep 171

TO:
S3E171



SEARCH:
"ST" <space> (digits) <space> "EP" <space> (digits)
ST (\d+) EP (\d+)
REPLACE:
S $1 E $2
[x] RegEx



 
Alexisback
Junior Member
Junior Member
Posts: 80
Joined: 2016-10-26, 20:04 UTC

Re: Multi-Rename: search&replace chars and numbers

Post by *Alexisback »

Thanks Stefan2 for your help :wink:
You could post a screenshot, :idea:
I can't solve, maybe I'm wrong :|
User avatar
Stefan2
Power Member
Power Member
Posts: 4124
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Multi-Rename: search&replace chars and numbers

Post by *Stefan2 »

FROM:
Test St 3 Ep 171 test.ext

TO:
Test S3E171 test.ext

USE:
https://www.ghisler.com/screenshots/en/06.html
File name: [N]
Extension: [E]
Search for: ST (\d+) EP (\d+)
Replace with: S$1E$2
[x] RegEx checked



 
Alexisback
Junior Member
Junior Member
Posts: 80
Joined: 2016-10-26, 20:04 UTC

Re: Multi-Rename: search&replace chars and numbers

Post by *Alexisback »

I understand now :)
thanks for help Stefan2 :wink:
Post Reply