#1 2007-09-30 18:30

ozzii
Senior Member
Registered: 2007-07-04
Posts: 101

Delete some and keep some

Hi,

here is what I would like to do:
I have this aaaa.s01e01.bb
and I would like to have as result aaaa.101.bb
I want to delete the s0 and the e

Now I have to create a replace rule but I have to put in a lot of things and to keep it update
imageju3.gif

Is there a way to say (for regex or pascal for example) one character and to reuse the same in replacement.
Let me explain: into find: s0?e?? into replace: ???
So I will have find s01e01 s01e02 s01e03 and for result 101 102 103 because I will always keep the 3,5 and 6 characters.

Am I clear ?????


_________________
Do, or do not. There is no 'try.'" --  Jedi Master Yoda

Offline

#2 2007-09-30 21:55

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Delete some and keep some

Yes, you can use wildcards for this task. Just tick the option at the bottom of the config screen for Replace rule.

Find: s0?e     Replace: $1     Use Wildcards: Yes

2005903338898025239_rs.jpg

Offline

#3 2007-10-01 09:14

ozzii
Senior Member
Registered: 2007-07-04
Posts: 101

Re: Delete some and keep some

Working !!!!!!!!!!!!!!!!
Thanks a lot


_________________
Do, or do not. There is no 'try.'" --  Jedi Master Yoda

Offline

Board footer

Powered by FluxBB