Replace with IF...

Advanced Renamer forum
#1 : 02/09-16 07:38
David
David
Posts: 60
I want to write a replace expression like this

(.*) (\d{2}) (.*)
\1 0\2 \3

Which turns a two digit number into a three digit number by adding a zero to issue numbering IF it is followed by
1. The end of the filename OR
2. A non numerical character including an opening bracket.

I'm really not sure how to use non numerical characters in my expressions although I'm getting pretty good at using expressions that use numbers. smile

I'm not sure when to use /w or /W or /D or what the difference is really.

Thanks to those who can help.


02/09-16 07:38
#2 : 02/09-16 19:22
G. Lambany
G. Lambany
Posts: 187
Reply to #1:
Little bit of hackery, but this seems to work:

method: replace
text to be replaced: ^(.+)(\D)(\d{2}($|\D))
replace with: \1\20\3
occurence: 1st
use regular expression: checked

\w is any alphabetical character, \W is any non-alphabetical
\d is digit characters, \D is any non-digit character

* is 0 or more match, + is one or more match.. you should be using + instead of * here, I think

the breakdown is as follow:

Start of string (not really necessary here, but it is good practice)
^
(first group) any characters, one or more times
(.+)
(Second group) One, non-digit character
(\D)
(Third group, exactly 2 digit characters
(\d{2}
End of string, or exactly one non-digit character. third group)
($|\D))

you can use a site like regexr.com to check beforehand if your expression works and see the regex reference commands

it would be probably more logical with lookaround features, but that starts to get complicated.. you should be good with that one, I think

cheers


02/09-16 19:22
#3 : 03/09-16 23:53
David
David
Posts: 60
Reply to #2:

Thanks so much for the lesson
that worked great. I never knew about using \D for spaces always using actual spaces in my methods but I can see how that could be useful sometimes.
I LOVE that last group I'll be incorporating that into dozens of replace methods I have in other preset sets up to now I've been doing this on multiple lines to address end of filename and space after the method I'm screening for.

I've got 374 methods in this group of presets because I'm trying to fix every possibility I've seen since I'm renaming hundreds of thousands of files so I don't always SEE all the changes that are being made on them so I can't have it changing things in a way I do not want because all the different methods sometimes interact together in unpredicted ways.

^(.+)(\D)0(\d{2} ($|\D))
\1\2 \3

A couple questions for you if you don't mind
1. What is considered non-digit character. For instance I infer from your method a space is a non digit character?
2. Is there a reason you selected 1st only as the occurrence because I tried both 1st and all and they both worked the same?
3. Wouldn't (.*) basically work in EVERY situation where (.+) would work. I can't think of a situation where it would be more effective to use the latter. It's because for my purposes I'm dealing with hundreds of methods covering all situations in lists of thousands of files at a time I can think of in the same preset file and sometimes the methods have unpredictable interactions together that I'm unaware of. Just a function of inexperience. But I'm getting more experienced and my methods are getting more sophisticated from trial and error and kind folks like yourself sharing your valuable experience.


03/09-16 23:53
#4 : 04/09-16 00:18
David
David
Posts: 60
G. Lambany

Could you tell me how to change this

(.*) (\d{3}) \((.*)\)(\D|$)
\1 \2 - \3

So that
X-Files - 016 (Home of The Brave - Part 2 - A Question of Ownership).cbr

Becomes
X-Files 016 - Home of The Brave - Part 2 - A Question of Ownership.cbr

But
Lucifer 062 (2005).cbr

Does NOT become
Lucifer 062 - 2005.cbr

I just need to tell AR if it's a number in the ending brackets to leave it alone but I don't know how to specify that. I tried putting \D inside the last bracket but that didn't work at all I mean it worked to stop the changing of the Date but it resulted in this

X-Files 016 - ome of The Brave - Part 2 - A Question of Ownership.cbr

So I know I'm not quite understanding how to use \D yet
I tried adding the missing character back in but that didn't work either

Smile


04/09-16 00:18 - edited 04/09-16 01:33
#5 : 04/09-16 06:12
G. Lambany
G. Lambany
Posts: 187
Reply to #4:
Well, again, * isn't better than +, they do different things. The regular expression will be able to match to many more places with * since the character it modifies is made entirely optional because it's zero or more occurence.

so for example, if you search with \w*\d in aaaaaaaaa1111111 the expression will match on every digit number, so 7 times. If you do with the \w+\d expression, it will only match at 'aaaaaaaaa1'

seems to me with 374 rules, there is something wrong in your approach. Either this is a very complex problem and a custom script would be more suited, or your piling rules instead of merging them. Regular expression are good, but 374 seems like an incredible mess to maintain.. I don't know, whatever works I guess

Selecting 1st occurence means it's run just once, if you select all, the regex will be run as many times as necessary, making that rule up above with * match 7 times on that filename.

A non digit character is exactly that, everything but digits. That includes spaces, special characters, letters, etc. much like . but with digits excluded

this seems a simpler method to do what you want, but it is using lookaround (negative lookahead), so it is getting a bit advanced:

(.+)\((?!\d{4})(.+)\)(\D|$)
\1- \2\3

breakdown
you know what this does
(.+)\(
negative lookahead, making sure (without capturing a group) that the next characters aren't 4 digits
(?!\d{4})
you know what these do also
(.+)\)(\D|$)

cheers


04/09-16 06:12
#6 : 04/09-16 22:29
David
David
Posts: 60
Reply to #5:

LOL. Yeah it's a mess for sure. It's like you've seen it.
I would LOVE to be able to do it with a script if had any clue how to do that. But alas...

It's developed over time. I'm trying to match every possibility when the possibilities are ALMOST endless. And over time it has gotten a bit better as I learn new methods to more efficiently do in one method what it initially took 5 or more. But matching every scenario is difficult because as I mentioned the methods sometimes undo each other or make it worse in some cases so I'm adding methods to undo the mess made by a method that is still needed for a different scenario. I know a mess.

Your method is great. I like it. Now I know how to do that. Thanks so much for that. I have to say I absolutely LOVE RegEx. I used to use a different bulk file renamer and it was such a piece of .... compared to this. It was constantly messing up other filenames when I tried to rename large lists of files. And I'm just talking making one change at a time. With AR I'm able to rename lists of thousands with very few slips if any. Making MANY changes simultaneously.

Hey what's the difference between using /1 and $1
Someone used it in a formula which worked but I don't know if there's a practical reason or just personal preference.

Also I was wondering if you deliberately put ($|\D) in that order? I did it the other way and it had unforeseen negative consequences because of some of the other methods.

Also does /d signify to AR a single digit?

EDIT
Unfortunately THIS
(.+)\((?!\d{4})(.+)\)($|/D)

Messes with this
Avengers Requiem 01 (Of 04)(2011-09).cbr
Turns it into
Avengers Requiem 01 - Of 04)(2011-09).cbr
And I've got THOUSANDS of limited issues formatted like this.


04/09-16 22:29 - edited 05/09-16 00:04
#7 : 04/09-16 23:10
David
David
Posts: 60
Reply to #6:

Here's why I'm using so many methods
It turns this mess

The Silver Surfer 01 (of 02) (1988) (digital) (Son of Ultron-Empire).cbr
The Silver Surfer 02 (of 02) (1989) (digital) (Son of Ultron-Empire).cbr
Silver Surfer & Warlock - Resurrection #1 of 4.cbr
Silver Surfer & Warlock - Resurrection #2 of 4.cbr
Silver Surfer & Warlock - Resurrection #3 of 4.cbr
Silver Surfer & Warlock - Resurrection #4 of 4.cbr
Devil's Reign #08 - Silver Surfer & Weapon Zero.cbr
Devil's Reign 01 - Weapon Zero & Silver Surfer.cbr
Devil's Reign ½ - Silver Surfer & Witchblade.cbr
Marvel Masterworks - The Silver Surfer v1 (Bchry-DCP).cbz
Marvel Masterworks - The Silver Surfer v2 (Bchry-DCP).cbz
Marvel Platinum The Definitive Silver Surfer TPB (Bchry-DCP).cbz
Minutemen Masterworks - Silver Surfer Requiem (Minutemen-Zone).cbr
Rune vs Silver Surfer 1.cbr
Silver Surfer - Flashback -1.cbr
Silver Surfer ½.cbr
Silver Surfer Infinite Comic 001 (2014) (digital) (Son of Ultron-Empire).cbr
Spiderman Featuring the Silver Surfer Magazine.cbr
Spider-Man Team-Up 02 - silver surfer.cbz
What If v2 049 ..Silver Surfer Possessed The Infinity Gauntlet.cbr
The X-Files Annual 2016 (2016) (digital) (Minutemen-Bookworm).cbr
X-Files - 00 (Pilot Episode).cbr
X-Files - 04 (Firebird - Part 1 - Khobka's Lament).cbr
X-Files - 05 (Firebird - Part 2 - Crescit Eundo).cbr
X-Files - 06 (Firebird - Part 3 - A Bried Authority).cbr
X-Files - 07 (Trepanning Opera).cbr
X-Files - 08 (Silent Cities of the Mind - Part 1).cbr
X-Files - 09 (Silent Cities of the Mind - Part 2).cbr
X-Files - 10 (Feeling of Unreality - Part 1 - Wheels Within Wheels).cbr
X-Files - 11 (Feeling of Unreality - Part 2 - The Ancient of Days).cbr
X-Files - 12 (Feeling of Unreality - Part 3 - Nightmare of History).cbr
X-Files - 13 (One Player Only).cbr
X-Files - 14 (Falling).cbr
X-Files - 15 (Home of The Brave - Part 1 - The New World).cbr
X-Files - 16 (Home of The Brave - Part 2 - A Question of Ownership).cbr
X-Files - 16 (Home of The Brave - Part 21 - A Question of Ownership) - Copy.cbr
X-Files - 17 (Thin Air).cbr
X-Files - 18 (Night Lights - Part 1).cbr
X-Files - 19 (Night Lights - Part 2).cbr
X-Files - 20 (Family Portrait - Part 1).cbr
X-Files - 21 (Family Portrait - Part 2).cbr
X-Files - 22 (The Kanashibari).cbr
X-Files - 23 (Donor).cbr
X-Files - 24 (Silver Lining).cbr
X-Files - 25 (Be Prepared - Part 1).cbr
X-Files - 26 (Be Prepared - Part 2).cbr
X-Files - 27 (Remote Control - Part 1).cbr
X-Files - 28 (Remote Control - Part 2).cbr
X-Files - 29 (Remote Control - Conclusion).cbr
X-Files - 30 (Surrounded - Part 1).cbr
X-Files - 31 (Surrounded - Part 2).cbr
X-Files - 32 (Crop Duster).cbr
X-Files - 33 (Soma).cbr
X-Files - 34 (Skybuster).cbr
X-Files - 35 (N.D.E. - Part 1).cbr
X-Files - 36 (N.D.E. - Part 2).cbr
X-Files - 37 (The Face of Extinction).cbr
X-Files - 38 (Cam Ranh Bay).cbr
X-Files - 39 (Scum of the Earth).cbr
X-Files - 40 (Devil's Advocate).cbr
X-Files - 41 (Severed).cbr
X-Files - 30 Days Of Night 01 of 6 (2010) (c2c) (3 covers) (Minutemen - DarthEmma).cbr
X-Files - 30 Days Of Night 02 (of 06) (2010) (Minutemen-TerminatedScanner).cbr
X-Files - 30 Days Of Night 05 of 6 (2011) (c2c) (Legion-CPS).cbr
X-Files - 30 Days Of Night 06 of 6 (2011) (c2c) (Legion-CPS).cbr
The X-Files - Origins 001 (2016) (digital) (Knight Ripper-Empire).cbr
The X-Files - Origins 002 (2016) (digital) (Knight Ripper-Empire).cbr
The X-Files - Season 10 001 (2013) (2 Covers) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 002 (2013) (2 Covers) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 003 (2013) (2 Covers) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 004 (2013) (2 Covers) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 005 (2013) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 006 (2013) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 007 (2013) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 008 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 009 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 010 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 011 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 012 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 013 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 014 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 015 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 016 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 017 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 018 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 019 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 020 (2015) (Digital) (Darkness-Empire).cbr
The X-Files - Season 10 021 (2015) (Digital) (AnHeroGold-Empire).cbz
The X-Files - Season 10 022 (2015) (Digital) (AnHeroGold-Empire).cbz
The X-Files - Season 10 Vol 1 TPB (2013) (Digital) (K6-Empire).cbr
The X-Files Annual 2014 (Digital) (Darkness-Empire).cbr
The X-Files X-Mas Special 001 (2014) (Digital) (Darkness-Empire).cbr
01 The X-Files - Conspiracy 01 (of 02) (2014) (Digital) (Darkness-Empire).cbr
02 The X-Files - Conspiracy - Ghostbusters OS (2014) (Digital) (Darkness-Empire).cbr
03 The X-Files - Conspiracy - Teenage Mutant Ninja Turtles OS (2014) (Digital).cbr
04 The X-Files - Conspiracy - Transformers OS (2014) (Digital) (Darkness-Empire).cbr
05 The X-Files - Conspiracy - The Crow OS (2014) (Digital) (Darkness-Empire).cbr
06 The X-Files - Conspiracy 02 (of 02) (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Year Zero 01 of 5 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Year Zero 02 of 5 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Year Zero 03 (of 05) (2014) (digital) (Minutemen-Midas).cbr
The X-Files - Year Zero 04 of 5 (2014) (Digital) (Darkness-Empire).cbr
The X-Files - Year Zero 05 (of 05) (2014) (digital) (Minutemen-Midas).cbr

Into this nice clean list of issue names.

The Silver Surfer 01 (Of 02)(1988).cbr
The Silver Surfer 02 (Of 02)(1989).cbr

Notice these 4 didn't get properly named. Need to refine my methods to encompass this format.
For some reason my current methods didn't catch it. I didn't notice it or I would have fixed it before I ran the batch.
S/B in this format.
Silver Surfer & Warlock - Resurrection 01 (Of 04).cbr

Silver Surfer & Warlock - Resurrection 01 - Of 04.cbr
Silver Surfer & Warlock - Resurrection 02 - Of 04.cbr
Silver Surfer & Warlock - Resurrection 03 - Of 04.cbr
Silver Surfer & Warlock - Resurrection 04 - Of 04.cbr

Devil's Reign 000.½ - Silver Surfer & Witchblade.cbr
Devil's Reign 001 - Weapon Zero & Silver Surfer.cbr
Devil's Reign 008 - Silver Surfer & Weapon Zero.cbr
Marvel Masterworks - The Silver Surfer v1.cbz
Marvel Masterworks - The Silver Surfer v2.cbz
Marvel Platinum The Definitive Silver Surfer TPB.cbz
Minutemen Masterworks - Silver Surfer Requiem.cbr
Rune vs Silver Surfer 001.cbr
Silver Surfer - Flashback -1.cbr
Silver Surfer 000.½.cbr
Silver Surfer Infinite Comic 001 (2014).cbr
Spider-Man Featuring The Silver Surfer Magazine.cbr
Spider-Man Team-Up 002 - Silver Surfer.cbz
What If.. v2 049 - ..Silver Surfer Possessed The Infinity Gauntlet.cbr
X-Files 000 - Pilot Episode.cbr
X-Files 004 - Firebird P1 - Khobka's Lament.cbr
X-Files 005 - Firebird P2 - Crescit Eundo.cbr
X-Files 006 - Firebird P3 - A Bried Authority.cbr
X-Files 007 - Trepanning Opera.cbr
X-Files 008 - Silent Cities Of The Mind P1.cbr
X-Files 009 - Silent Cities Of The Mind P2.cbr
X-Files 010 - Feeling Of Unreality P1 - Wheels Within Wheels.cbr
X-Files 011 - Feeling Of Unreality P2 - The Ancient Of Days.cbr
X-Files 012 - Feeling Of Unreality P3 - Nightmare Of History.cbr
X-Files 013 - One Player Only.cbr
X-Files 014 - Falling.cbr
X-Files 015 - Home Of The Brave P1 - The New World.cbr
X-Files 016 - Home Of The Brave P2 - A Question Of Ownership.cbr
X-Files 017 - Thin Air.cbr
X-Files 018 - Night Lights P1.cbr
X-Files 019 - Night Lights P2.cbr
X-Files 020 - Family Portrait P1.cbr
X-Files 021 - Family Portrait P2.cbr
X-Files 022 - The Kanashibari.cbr
X-Files 023 - Donor.cbr
X-Files 024 - Silver Lining.cbr
X-Files 025 - Be Prepared P1.cbr
X-Files 026 - Be Prepared P2.cbr
X-Files 027 - Remote Control P1.cbr
X-Files 028 - Remote Control P2.cbr
X-Files 029 - Remote Control - Conclusion.cbr
X-Files 030 - Surrounded P1.cbr
X-Files 031 - Surrounded P2.cbr
X-Files 032 - Crop Duster.cbr
X-Files 033 - Soma.cbr
X-Files 034 - Skybuster.cbr
X-Files 035 - N.D.E. P1.cbr
X-Files 036 - N.D.E. P2.cbr
X-Files 037 - The Face Of Extinction.cbr
X-Files 038 - Cam Ranh Bay.cbr
X-Files 039 - Scum Of The Earth.cbr
X-Files 040 - Devil's Advocate.cbr
X-Files 041 - Severed.cbr
X-Files Annual 2016 (2016).cbr
X-Files - 30 Days Of Night 01 (Of 06)(2010).cbr
X-Files - 30 Days Of Night 02 (Of 06)(2010).cbr
X-Files - 30 Days Of Night 03 (Of 06)(2010).cbr
X-Files - 30 Days Of Night 04 (Of 06)(2010).cbr
X-Files - 30 Days Of Night 05 (Of 06)(2011).cbr
X-Files - 30 Days Of Night 06 (Of 06)(2011).cbr
X-Files - Origins 001 (2016).cbr
X-Files - Origins 002 (2016).cbr
X-Files - Season 10 001 (2013).cbr
X-Files - Season 10 002 (2013).cbr
X-Files - Season 10 003 (2013).cbr
X-Files - Season 10 004 (2013).cbr
X-Files - Season 10 005 (2013).cbr
X-Files - Season 10 006 (2013).cbr
X-Files - Season 10 007 (2013).cbr
X-Files - Season 10 008 (2014).cbr
X-Files - Season 10 009 (2014).cbr
X-Files - Season 10 010 (2014).cbr
X-Files - Season 10 011 (2014).cbr
X-Files - Season 10 012 (2014).cbr
X-Files - Season 10 013 (2014).cbr
X-Files - Season 10 014 (2014).cbr
X-Files - Season 10 015 (2014).cbr
X-Files - Season 10 016 (2014).cbr
X-Files - Season 10 017 (2014).cbr
X-Files - Season 10 018 (2014).cbr
X-Files - Season 10 019 (2014).cbr
X-Files - Season 10 020 (2015).cbr
X-Files - Season 10 021 (2015).cbz
X-Files - Season 10 022 (2015).cbz
X-Files - Season 10 023 (2015).cbz
X-Files - Season 10 024 (2015).cbz
X-Files - Season 10 025 (2015).cbz
X-Files - Season 10 v1 TPB (2013).cbr
X-Files Annual 2014.cbr
X-Files X-Mas Special 01 (2014).cbr
01 - X-Files - Conspiracy 01 (Of 02)(2014).cbr
02 - X-Files - Conspiracy - Ghostbusters OS (2014).cbr
03 - X-Files - Conspiracy - Teenage Mutant Ninja Turtles OS (2014).cbr
04 - X-Files - Conspiracy - Transformers OS (2014).cbr
05 - X-Files - Conspiracy - The Crow OS (2014).cbr
06 - X-Files - Conspiracy 02 (Of 02)(2014).cbr
X-Files - Year Zero 01 (Of 05)(2014).cbr
X-Files - Year Zero 02 (Of 05)(2014).cbr
X-Files - Year Zero 03 (Of 05)(2014).cbr
X-Files - Year Zero 04 (Of 05)(2014).cbr
X-Files - Year Zero 05 (Of 05)(2014).cbr

Here are the methods I use in this set of Presets (377 methods now) in case you would care to copy it to an aren file and take a look at it. I'm SURE you could clean it up a bunch knowing what you know. Or make some recommendations it would be appreciated. I've actually got a bunch of them that have hundreds of methods in them to rename different collections. eBooks, Magazines, mp3s, Music Videos, Concerts, Audiobooks, Documentaries, Massive TV Show Collection, Mini-Series, Movies, Massive Photo collection (around 4.5 Million so far.)(There's really not a lot this app can do for the photo collection since most photo's you download off the internet are named complete gibberish and have nothing to do with what the photo is) So this application is an absolute godsend for me. And folks like you who teach me to use it better.

[header]
type=preset
application=Advanced Renamer 3.64
application_version=3640000

[namecollision]
separator=
pattern=(Alternate Scan)
rule=append_pattern

[methods]
method0000=methodname:"add"; methoddescription:"Comics - Fix Named Comics v2"; active:"0"; position:"5"; add:", "; backwards:"1"; applyto:"name"; regularexpressions:"0";
method0001=methodname:"replace"; methoddescription:"----------- Scanner Tags Removed 1 ------------"; active:"1"; replace:"minutemen-bookworm\minutemen-terminatedscanner\minutemen - darthemma\flattermann\punkrat\bluesbrothers\bluejeff1954\rescan.unknownscanner\mazen\reedit\brainiac&lindalee\happymonkey\onlyorko\-hh\ollietheox\hfb-cps\hfbeeb-cps\i-empire\spyder\flynnlives\actioncomics-dcp\kritter-dcp\doubleeclipse-dcp\the sinner-dcp\freecomicbooks.blogspot.com\archangel-dcp\& Legionboy\terminated toons\flamable&dangerous\thepyre&danger\dizzy & dangerous\dizzy&delerious\dizzy&dangerous\lionheart-dcp\blastaar-dcp\reiu-dcp\shazam-dcp\odb-dcp\dcbabes\lightray-dcp\legacy-dcp\cmdrkoenig\l-dcp\\gmdcurp\greenracer-dcp\pirate-empire\atomicmass77\- dcp\jxsi\flatermann\digital-empire\jormungand\oldwayne,\quietriot\rolster\snard\(eel)\ontology\hpscan\yt edit\(hp)\thecaptain\theredstar\whitewolf\eclipse-dcp\hellstorm\shinter\rougher\(void)\ocd\minutemen-shazam\minutemen-justice!\avalon-dcp\second class citizens-dcp\rizz3n\steam-dcp\minutmen\-kingoftoons\josefo290\legion of demons-cps\marvel interactive\zone-dcp\- the elite\resin-zone\starskyhutch\fse-dcp\unclestrangehead\(kingpin)\null-dcp\(dr)\mrpink-dts\danger-empire\lucybutler-dcp\oroboros\g85king\megashepherd\the ramones\sha-hic\darthmedio\fb-dcp\tarutaru-dcp-hd\random-dcp\archangel-dcp\slobo-dcp\resin-dcp\www.thumperdc.com"; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0002=methodname:"replace"; methoddescription:"----------- Scanner Tags Removed 2 ------------"; active:"1"; replace:"team-dcp\-dcp\k6-empire\phatman516\the last kryptonian-dcp\jvj-snard\(inc)\flatterman\kriiter-tag\kritter-tag\scorpion-empire\deadmanwade\zoom-empire\messrspink&tew\actioncomics-dcp\minutemen-nobody\ollietheox-actioncomics\super gimp-dcp\ (coyote)\mintuemen-\-wtf\archangel-2b\zone of ultron\tlk-empire-hd\darkness-empire\hapless-dcp\zone-empire\mephisto-empire\cypher 2.0\-empire\eos-empire\forsythe-dcp\montagnard93\tutone & kaisersoze\beavx\sosich-nemo-cst\bzc\minutemen-midasscanner\woodman-mal32\(shazam!)\(dragonz)\darthemma\&itsybitsyspider\ink&dagger\minutemen-zombie\minutemen-firewarriors\1440p\oldwayne-rolster-snard\HC-c2c'ized''200\HC-c2c''200\- twiztid sith\flatterman-bluesman re-edits\bluesman re-edits\thatguy-empire\competentripper-empire\g85-empire\cypher 2 0-empire\thehand-empire\kco-dcp\megajackal\anpymgold-empire\colecionadores-go\cypher 2.0-empire\archangelii empire\1920px\minutemen-army of dead\danger-empire-hd\themarxbros\wyzone\ mk\bchry-dcp, \cypher-empire\zoneking-empire\jk-empire\fawkes-empire\nahga-empire\theuntooned\son of ultron-empire\minutemen-factorx\dogmatix-empire\minutemen-annika\mr norrell-empire\tlk-empire-hd\d'argh-empire\emachine-empire\dr & quinch-empire\minutemen-shazam!\team2-dcp\ffscotty\superscans\rip odb-dcp\flattermann-snard\dizzynthehunk\thebastard\thedizzybastard\minutemen-zone's elite\dizzy&delirious\dizzy&danger\molotov\rip-odb\minutemen-dizzy\greenblast-dcp\rembrandt-dcp\lightray-dcp\superfan-dcp\lastkryptonian\team-cps\deadmau5\+pudgy\& novus\spirituspopuli\& mao\oracle saxon\hatful of hollow-dcp\minutemen-ott\archangel & fp\walkabout-dcp\prime user-\fin ende\minutemen-firewarriors\shep & megan\ace of scans\computerbunny\archangel 2b\faessla\galan007\lovag-empire\dizzy&dangerous\dts & zack\minutemen-bluntman\greenengine\(pirate)\mr shepherd\theblueangels\bombay-dcp\masteroro\dcp-team\tarutariat-dcp-hd\minutemen-therain\minutemen-locke\pf-dcp\zonescrew\shazam-team dcp\now hd\+penner\royal scanners\hunter rose-l\btx-dcp\robbdaman\stryfe13\terminatedscanner\minutemen-silent\dizzyslass\zonesbitches\doubleeclipse\lionheart-dcp\soulsofthedamned\angeliclegion-cps\legion-cps\broken-novus\beastcharming\(ghoul)\citizenpain dcp\ayatm-hacsa\shaw001\halo-novus-hd\broken-novus-hd\thefragile\redresin\archboros\archoboros\kingpin - empire\twiztidsax\twiztidsith+tt\twiztoons\brokenwingz\tsarrack\[wisco-klarer]\tithe-empire\ookla\loc-snard\voight\empire-adventurers\sare & megan\minutemen-warzone\roczone\delirium e soli\thedtsandme\dizzy&danger\minutemen-tropical storm\dangerangel\the duke boys\zonylie\minutemen-shazam, pheonix & resin\dizzy&legionboy\thelastkryptonian-dcp\cooper-cca\modok-empire\mrpink&\pinkelephant\foyle-dcp\g85nw\metatron\link+steam+\twiztidtew\firebad\webrip-700\megaxxxx\neverangel\wingnut\champions-dcp\thedarkknut\d-rek\hqpoint\empire-golgoth\klingon-empire\toleressea\the worthy-dcp\imagesunplugged\theunforgiven\i-empire\spyder-empire\worldbreaker-dcp\empire-tiger\empire tiger\minutemen-acan\zinc-empire\minutemen-phantasm\thedemiurge\scorpion-empire\deadcold\darthinviser\aardvark\minutemen-cold\shepherd&saxon\eismysax\thostew\vengeanceservedcold\minutemen-e.t\hawaiianpunch\t-minus\mephisto-empire\(zone-empire)\fngg\spengo scan\bluepeter +\bluepeter\zapp\dtew\c9-novus\maidofmight-novus-hd\tarunet-novus\artnet\(nn+)\(nn)\petethezonesbitches\therain &\bloody variant\delirium-powers\coochie &\coochie\theproletariat\rocn king\d.t&\darthsax\(fix)\odororeo\minutemen-ultimatepower\dizzymeganubis\fixed2\megalixir\megaroc\roxrite\camelotscans\- rns\springboard willy\(d1920)\fÆRiE\stillontheedge\(oogla)\c2c\minutemen archives edition\minutemen archives\charlie adlard\kingkirby\sirius and polaris-starhome\minutemen masterworks\k6 dvr\saint malaclypse\bang brothers\(kritter-dcp) .1\the scangstas\tgs scans\neon vincent\the darkness zone-empire\fourthman-dcp\compiled by discovery\soze's scans\ hexadecimal-empire\c2cized\letourn\clasher\empire selects\flamefox\hul konnen\minutemen-the unresurrected\penner &\-continuity comics-\l74kl\garfield-dcp\-getfreedregs\ripped by\g85\darkseid-dcp\(tcr)\meganubis\stefcuk\jedi-babe\dr quinch\talon-novus-hd\broadcast-empire\zinc empire\zoneking\ -=SPIDAROT SHARE=-\blurpixel\edizzy\minutemen-loop\angeliclegion\memo-dcp\vigilante407\c2cfreak\heartbroken & homicidal\joandtinya\twiztidtew\ jvj-yoc\registration fixed\fox centaur\dcbabes-dcp\oroboros-cps\twiztid-t\re-edits\nweako\syl3ntbob\thekid\dcp-bchry\hul-konnen\phillywilly\wsz-empire\ol joe\meganubis-empire\fussballweltmeister\darkzone-empire\minutemen-y2k\shazam! & legionboy\thatguy\competentripper\ vee-empire\jk\(gonk)\OkC.O.M.P.U.T.O.\windrider\g85king\dr & quinch\(pudgy)\laura palmer-empire\madvillain-dcp\pym-empire\k7-empire\gonk-empire\bean-empire\endriago\thehand\anpymgold\team-ocdcp\gcpdguy-\shazam-dcp\gcpd-ocd\coldkiller-dcp\avalon-dcp\tenchiefs-scc\team second class citizens-dcp\team-second class citizens\prometeoro\iamjack'sliver\monafekk\k6-empire\world of termight\torquemurder\qcolor\miraclescans ltd\pudgy-novus\dreamgirl-novus-hd\the gothic empire\tyrant lizard king empire\minutemen-threesome\megan-minutemen\minutemen-twiztid\megan\innerphdemons\thebolsheviks\minutemen-snl\timely darkmark & metaldave-dcp\darkmark\darthreddragon\darthtaru\darthlizard\theredstar-dcp\dobisp.r.\pharo-ocd\\chairmen-novus-hd\"; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0003=methodname:"replace"; methoddescription:"----------- Scanner Tags Removed 3 ------------"; active:"1"; replace:"anherogold\knight ripper\biz-dcp\val rp gk\val-gk\(val)\d.t. rocafella\&tyler\peterwatts\mrpink&saxon\oroboros-danger-cps\dcp&minutemen-greensax\zone empire\minutemen-midas\archangel+\delirioustyler\g85-empire\thebastard & thebitch\pirate-empire\danger-empire\dzs\lusiphur-dcp\enjolras\rougher-ocd\snardermann\(hybrid)\-novus-hd\-novus\toleressea - novus - hd\darkness-empire\ toleressea-\calamitycoyote\k6dvr\zone - empire\tarutaru - dcp - hd\tarutaru - dcp\son of ultron - empire\(raynor ni)\ (jon)\ssloan-fixed\gavblaster+eggie+imbie\dell4c-walkabout\(cliff)\scanned from original\cha23113\skankstas-dcp\qweth'l-dcp\whitewolf-dcp\tkl\re-em\slunky-dcp\loopyjoe-dcp\minutemen-abaddon\minutemen-fungi\brigus\(mal32-gambit)\(gambit)\(obi)\tantor-dcp\(heef)\ziplizard\pyrate-dcp\myrbie\imbie-resin\propellermonkey\re-scanned & re-edited\samm-dcp\(fullbeard)\jplappo-dcp\bigblue-dcp\manster-dcp\angrybadger-dcp\thedizzysaint\minutemen-legionboy\minutemen-captain john\captainjohn\dizzy & steam-dcp\thebastard-mms\the ramones-dcp\(xandre)\wilddog\drunkduck.com\jormungand-dcp\resin-dcp\kingdaubach-dcp\(lavalamp)\cbred by twit\starslayer-dcp\(kritter)\ddp \comichost and paper pirate-cps\comichost-dcp and paper pirate-cps\carebears-dcp\ego-dcp\kritter-dcp\(hv)\flattermann\a-team-dcp\minutemen-emega\-darthanubis\meganet-dcp\(kman)\pinky&thebrain\mrpink&meganubis\pinkscanner\sunburntphd\&saxon\captain marvel-dcp\nf29-dcp\blastydcp\kurt wagner-dcp\ganymede-dcp\minutemen-thepyre\therain & megan\webrip by\interactive version\byrnerobotics.com\mpi shan-lon\wisco klarer\minutemen-fiji\frankblackwezz\frankblack\rook-dcp\(knight) !\mophead son of gorn - dcp\son of gorn\deadskull-dcp\meganubis\megapiccolo\broomhandlemauser\vortexfx\whobutdrew\spellboroboros-dcp\steam-dcp\marvel.com\artnet-dcp\webrip by aj\wisco-klarer\petethepipster\wildcarde1\jaklar\lizard-dcp\puar-dcp\cypher empire\novus-hd\zoom-empire\kingpin-empire\dangerking\hw-dcp\kingpowers\fallensoldiers\thegoblinking\hemogoblin\zoomking\taruataru-dcp-hd\tarutaru-dcp-hd\linkthebeggar\leifman\tarutaru\-novus-hd\tarunet-novus\oddbot-dcp\roboticproletariat\hulkingproletariat\shepherdsdame\teamsi-dcp\sare & megan\link & artnet\rezonesdiva\thecaptain-dcp\blonde goddess-dcp\captainmarvel-dcp\legacy-dcp\phoenixfactor\minutemen-megan\saintsangels\minutemen-mafia\ori-dcp\anthony-ocd\reiu-dcp\lockezone\orosoze\k&x-dcp\samurai-dcp\rezone\zmr\zonesdiva\zonesavenger\deliriumpowers\joequesadilla-dcp\clr-dcp\archangel-dcp\lucky-dcp\roc'n rosie\minutemen-rosie\mr.shepherd\- delirium-powers\racerx\deluxe-dcp\blastboros-dcp\blastaar dcp\nastynat-\team mal\bastardsdoll\blasty\dcpx\ steam-dcp\(zack)\ ocd\jnx\shazam & titankid\diesel-dcp\spacemanspiff\aquila.e.mal32-italia-dcp\james-dcp\(raven)\beast's library\minutemen-zone\horus-ocd\universo-dcp\gird\kain\darthscanner\shazam!-dcp\toywoodman\c2co\c2ce\blastaar dcp\dead drunk\edits\darthtremens\(f)\d.t.rocafella\oroboros-dcp\archangel & rosie\bchry\mr.shepherd&tyler\theangels-dcp\tipsygirl\fse-dcp\rainsdesire\fb-dcp\dizzy&rocafella\dizzy & wingnut\grumpybear\kryptonia-dcp\minutemen-the killers\hawaiian punch\xxxx&dts\ch3oh\xxxxscanner\megatonic\hawk&dts\team-dcp\sha-hic!\negavolt\g-seti\kaosama05\imbie\coldkiller - zcultfm\otk\linuxlad\minutemen-oracle\shazam & mustacheguy\minutemen-xxxx\inviskid\oracle & mustacheguy\castalia\pythia'stache\dnameless2\h33t\drknark\thedizzyzone\dangerpowerszone\dangerzone\dts\dizzy & rocafella\shazzy!powers\re-edit\shamil\xcellerant\thepyre & xander\& mustacheguy\avalon-scc\shining knight-scc\greenmangroup\scandog\minutemen-deathstar\- nem -\k6 of ultron\the last kryptonian dcp\the last kryptonian\-dtermined\uled-notoriousnotty\we-comical\pmack-gambit\pmack\jojo\jodyanimator\mal32-secret santa\fbscan\hacsa-grundy\flattermann-snard\darwin-dregs\stubby's collection\hawkchap\-cps\robotangel\re-em-\megan-empire\ubersoldier\repack\krustyscan\-black manta\ol'joe\webrip\(zone-empire\jk-empire\minutemen-phd\meganubis\greengiant\g85-empire\tyrant lizard king-empire\-thegroup\thegroup\zone-empie\re-em-novus-hd\maotsetaru\archangel zone-empire\tarutariat-novus-hd\2048px\fawkes\darkness-empire\zone-empire\innerdemons\blackmanta\cypher\archangel&\spaztastic\nahga\son of ultron\jk-empire\minutemen-phd\thornn\(hd)\tlk-hd\digi-hybrid\digtal\g85-\zone-\tarutaru-novus-hd\broken-novus-hd\scanbro\ol' joe\fixed\+artnet\yz1\[a-team]\[a-team\(a-team)\wildbluezero\(r) \gavbie\simonbie\hydrocardiac\petetheipster\he last kryptonian\lizard\incrediblehunk\(avalon-scc\(empire)\mixx-hacsa\, mm-syl3ntbob\pudgy\hi-res\compiled by\& theshamans\dk\+-absolut\\archived by citizenpain\c2c\noads\zinc&\slg\(ac\(dcm)\phabox\(1920)\ cbda\bjk\(cmx\ctc\mookie\reiu-lubblyjubbly\scrotnig\lubblyjubbly\gigman\the baron\john williams\grim reaper\parodygm\youngstar\ziggyhowie\pikmin\flopbie\~cclay~\ (flop)\scandy\simon simmons\milkfloat\(zeg)\fanis\gladstone\ amp xer\ xer\with page fills\cimmerian32\teachbug\\- iw-super\jon novus\lev gleason\spazzz\iw super\youthful\loftypilot\darwin beagleboy\darwination beagleboy\harvey sote\ iw\chesler\srca\bobk\ffly\jvj oe\bhcomics\freddyfly\inc upgrade\rangerhouse yoc\marbleriver\repost billk\billk\jvj\weirdmenace\teto7totoro\thebigtc\super comics\txt ger apeldoorn\avon 10rnarfstar\twobyfour dregs\narsftar\rangerhouse\movielover novus\citaltras"; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0004=methodname:"replace"; methoddescription:"Digital"; active:"1"; replace:"digital-thegroup\digital-empire\digital-1920\digital hd\digital-hd\(digital)\digital-1280\digital first\- digital exclusive\"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0005=methodname:"newcase"; methoddescription:"ALL LOWER CASE"; active:"0"; casetype:"lowercase"; applyto:"name"; regularexpressions:"0";
method0006=methodname:"newcase"; methoddescription:"Capitalize Filename"; active:"1"; casetype:"uppercase_firstletter_word"; applyto:"name"; regularexpressions:"0";
method0007=methodname:"replace"; methoddescription:"#"; active:"1"; replace:"#"; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0008=methodname:"replace"; methoddescription:"& "; active:"1"; replace:" And "; replacewith:" & "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0009=methodname:"replace"; methoddescription:", & "; active:"1"; replace:", & "; replacewith:" & "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0010=methodname:"replace"; methoddescription:" - & "; active:"1"; replace:" - & "; replacewith:" - And "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0011=methodname:"replace"; methoddescription:","; active:"1"; replace:" , \ ,\,"; replacewith:", "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0012=methodname:"replace"; methoddescription:"_ Underscore"; active:"1"; replace:"\_\"; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0013=methodname:"replace"; methoddescription:"Period With A Space"; active:"0"; replace:"."; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0014=methodname:"replace"; methoddescription:"Hyphen With A Space"; active:"0"; replace:"\-\"; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0015=methodname:"replace"; methoddescription:"' FIX APOSTROPHES"; active:"1"; replace:"`\'\’\´"; replacewith:"'"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0016=methodname:"replace"; methoddescription:" - - - \ - - \- -\---\--\–\~"; active:"1"; replace:" - - - \ - - \- -\---\--\–\~"; replacewith:"-"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0017=methodname:"replace"; methoddescription:"--------------- Add Spaces To Hyphen ----------------"; active:"0"; replace:"-"; replacewith:" - "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0018=methodname:"replace"; methoddescription:"----- Separate Text From Digits, Digits First ------"; active:"0"; replace:"(\d)([a-z])"; replacewith:"\1 \2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0019=methodname:"replace"; methoddescription:"----- Separate Text From Digits, Digits Last -------"; active:"0"; replace:"([a-z])(\d)"; replacewith:"\1 \2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0020=methodname:"replace"; methoddescription:"-------------- Separate Capitalized Text ---------------"; active:"0"; replace:"([a-z])([A-Z])"; replacewith:"\1 \2"; casesensitive:"1"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0021=methodname:"replace"; methoddescription:"Remove Retarded Cover Tags"; active:"1"; replace:"04 of 04 covers, \-dc cover\-gls cover\heritage fc\-natromgrp cover"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0022=methodname:"replace"; methoddescription:"Remove Multiple Cover Tags"; active:"1"; replace:"12 covers\kmqs-ek\llsw\(ek)\l9d\phantom variant cover\(19 covers)\(alternate cover)\all 3 covers\01 of 02 covers\01 of 03 covers\01 of 04 covers\01 of 05 covers\01 of 06 covers\01 of 07 covers\01 of 08 covers\01 of 09 covers\02 of 02 covers\02 of 03 covers\02 of 04 covers\03 of 05 covers\05 of 06 covers\07 of 08 covers\002 of 006 covers\03 of 03 covers\04 of 04 covers\04 of 05 covers\05 of 05 covers\06 of 06 covers\07 of 07 covers\08 of 08 covers\09 of 09 covers\10 of 10 covers\11 of 11 covers\03 of 04 covers\00 of 02 covers\001 of 030 covers\ (2 covers)\(3 covers)\(4 covers)\(5 covers)\(6 covers)\(two covers)\(three covers)\(four covers)\(five covers)\(six covers) \(TwoCovers-Digital)\2covers\(2-covers)\two covers\both covers\2 covers\3 covers\4 covers\5 covers\6 covers\7 covers\8 covers\9 covers\10 covers\three covers\-2-covers\-3-covers\-5-covers\seven covers\11 covers\eight covers\ alternate cover\2 cvrs\"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0023=methodname:"replace"; methoddescription:" \ \ \ \ \ \ "; active:"1"; replace:" \ \ \ \ \ \ "; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0024=methodname:"replace"; methoddescription:" 1,000,000"; active:"1"; replace:"1000000\ 001 000 000\ (1000)000\one million\1, 000, 000"; replacewith:" 1,000,000 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0025=methodname:"replace"; methoddescription:"(NoAds)"; active:"1"; replace:" noads \noads"; replacewith:" (NoAds) "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0026=methodname:"replace"; methoddescription:" \ \ \ \ \ \ "; active:"1"; replace:" \ \ \ \ \ \ "; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0027=methodname:"replace"; methoddescription:"DC"; active:"0"; replace:"(dc)\dc\"; replacewith:"DC"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0028=methodname:"replace"; methoddescription:"DCP"; active:"1"; replace:"dcp\dc p "; replacewith:"DCP "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0029=methodname:"replace"; methoddescription:"DCU"; active:"1"; replace:"dcu.\dcu "; replacewith:"DCU "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0030=methodname:"replace"; methoddescription:"FC & BC "; active:"1"; replace:" fc and bc "; replacewith:" FC & BC "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0031=methodname:"replace"; methoddescription:"BC"; active:"1"; replace:" bc "; replacewith:" BC "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0032=methodname:"replace"; methoddescription:"FC "; active:"1"; replace:" fc"; replacewith:" FC"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0033=methodname:"replace"; methoddescription:"IDW"; active:"1"; replace:"idw"; replacewith:"IDW"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0034=methodname:"replace"; methoddescription:"(ONI)"; active:"1"; replace:"(oni)"; replacewith:"(ONI)"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0035=methodname:"replace"; methoddescription:"MDCE"; active:"1"; replace:" (marvel digital comics exclusive)\(marvel digital comics exclusive)\ marvel digital comics exclusive\marvel comics digital exclusive\(marvel comics exclusive)\marvel comics exclusive\"; replacewith:" (MDCE) "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0036=methodname:"replace"; methoddescription:"\((\d{4})\) \(MDCE\)"; active:"1"; replace:"\((\d{4})\) \(MDCE\)"; replacewith:"(MDCE)(\1)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0037=methodname:"replace"; methoddescription:" (Volume #) - Comic Vine"; active:"1"; replace:" \( v(\d{1}) \) - Comic Vine"; replacewith:" (Volume \1) - Comic Vine"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0038=methodname:"replace"; methoddescription:" (Volume) - Comic Vine"; active:"1"; replace:" ( v) - comic vine"; replacewith:" (Volume) - Comic Vine"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0039=methodname:"replace"; methoddescription:" \ \ \ \ \ \ "; active:"1"; replace:" \ \ \ \ \ \ "; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0040=methodname:"replace"; methoddescription:" - - - \ - - \- -\---\--\–\~"; active:"1"; replace:" - - - \ - - \- -\---\--\–\~"; replacewith:"-"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0041=methodname:"add"; methoddescription:"Date Formatting"; active:"0"; position:"10"; add:"Part "; backwards:"1"; applyto:"name"; regularexpressions:"0";
method0042=methodname:"replace"; methoddescription:" (MONTH) DD YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{2}) (\d{4})"; replacewith:" \3 \1-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0043=methodname:"replace"; methoddescription:" DD (Month) YYYY"; active:"1"; replace:" (\d{2}) (January|February|March|April|May|June|July|August|September|October|November|December) (\d{4})"; replacewith:" \3 \2-\1"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0044=methodname:"replace"; methoddescription:" (MONTH) D, YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{1}), (\d{4})"; replacewith:" \3 \1-0\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0045=methodname:"replace"; methoddescription:" (MONTH) DD, YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{2}), (\d{4})"; replacewith:" \3 \1-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0046=methodname:"replace"; methoddescription:" (MONTH) YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{4})"; replacewith:" \2-\1"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0047=methodname:"replace"; methoddescription:"January"; active:"1"; replace:"january, \- january\january\janurary\ jan "; replacewith:" 01 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0048=methodname:"replace"; methoddescription:"February"; active:"1"; replace:"february, \- february\february\feburary\ feb "; replacewith:" 02 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0049=methodname:"replace"; methoddescription:"March"; active:"1"; replace:"march, \- march\march\ mar "; replacewith:" 03 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0050=methodname:"replace"; methoddescription:"April"; active:"1"; replace:"april, \- april\april\ apr "; replacewith:" 04 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0051=methodname:"replace"; methoddescription:"May"; active:"0"; replace:"may, \- may \ may "; replacewith:" 05 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0052=methodname:"replace"; methoddescription:"Aunt May Fix"; active:"1"; replace:"Aunt05\ Aunt 05 "; replacewith:" Aunt May "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0053=methodname:"replace"; methoddescription:"June"; active:"1"; replace:"\june, \- june\june \ jun "; replacewith:" 06 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0054=methodname:"replace"; methoddescription:"July"; active:"1"; replace:"july, \- july\july\ jul "; replacewith:" 07 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0055=methodname:"replace"; methoddescription:"August"; active:"1"; replace:"\august, \- august\august\ aug "; replacewith:" 08 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0056=methodname:"replace"; methoddescription:"September"; active:"1"; replace:"september, \- september\september\sept \ sep \sept)\"; replacewith:" 09 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0057=methodname:"replace"; methoddescription:"October"; active:"1"; replace:"october, \- october\october\ oct "; replacewith:" 10 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0058=methodname:"replace"; methoddescription:"November"; active:"1"; replace:"november, \- november\november\ nov "; replacewith:" 11 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0059=methodname:"replace"; methoddescription:"December"; active:"1"; replace:"december, \- december\december\ dec "; replacewith:" 12 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0060=methodname:"trim"; active:"1"; characters:" _+ "; applyto:"name"; casesensitive:"0";
method0061=methodname:"replace"; methoddescription:"Bracket Date At End ^(.+) (\d\d\d\d)$"; active:"1"; replace:"^(.+) (\d\d\d\d)$"; replacewith:"$1 ($2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0062=methodname:"replace"; methoddescription:"With ONLY Closing Bracket ^(.+) (\d\d\d\d)\)$"; active:"0"; replace:"^(.+) (\d\d\d\d)\)$"; replacewith:"$1 ($2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0063=methodname:"replace"; methoddescription:" (yyyy DC)"; active:"1"; replace:" \((\d{4}) DC\) "; replacewith:" (\1)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0064=methodname:"replace"; methoddescription:" (Timely yyyy) "; active:"1"; replace:" \((Atlas|Timely) (\d{4})\) "; replacewith:" (\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0065=methodname:"replace"; methoddescription:"(dd - yyyy)"; active:"1"; replace:"\((\d{2}) - (\d{4})\)"; replacewith:"\2-\1"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0066=methodname:"replace"; methoddescription:"(dd.yyyy)"; active:"1"; replace:"\((\d{2}).(\d{4})\)"; replacewith:"(\2-\1)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0067=methodname:"replace"; methoddescription:" yyyy-dd$ - Add Brackets To Date"; active:"1"; replace:" (\d{4})-(\d{2})$"; replacewith:" (\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0068=methodname:"replace"; methoddescription:" (yyyy - dd)"; active:"1"; replace:" \((\d{4}) - (\d{2})\)"; replacewith:" (\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0069=methodname:"replace"; methoddescription:"(yyyy.dd)"; active:"1"; replace:"\((\d{4}).(\d{2})\)"; replacewith:"(\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0070=methodname:"replace"; methoddescription:"yyyy-dd - (.*)"; active:"0"; replace:"(\d{4})-(\d{2}) - (.*)"; replacewith:"\3 (\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0071=methodname:"replace"; methoddescription:"(yyyy-mm-dd)"; active:"0"; replace:"\((\d{4})-(\d{2})-(\d{2})\)"; replacewith:"(\1 \2-\3)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0072=methodname:"replace"; methoddescription:"yyyy.mm.dd"; active:"0"; replace:"(\d{4}).(\d{2}).(\d{2})"; replacewith:"\1-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0073=methodname:"replace"; methoddescription:"(mm (yyyy-mm)$"; active:"1"; replace:"\((\d{2}) \((\d{4})-(\d{2})\)$"; replacewith:"(\2-\3)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0074=methodname:"replace"; methoddescription:"Fix Screwed Up Year-Year"; active:"0"; replace:"(\d{2})\.(\d{4})-(\d{2})"; replacewith:"\1\3-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0075=methodname:"replace"; methoddescription:"Bracket Year"; active:"0"; replace:"(.*) (\d{4}) (.*)"; replacewith:"\1 (\2) \3"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0076=methodname:"replace"; methoddescription:"(2020)"; active:"1"; replace:" (2020)"; replacewith:" 2020"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0077=methodname:"replace"; methoddescription:"(2099)"; active:"1"; replace:" (2099)\2099-"; replacewith:" 2099 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0078=methodname:"replace"; methoddescription:"(3000)"; active:"1"; replace:" (3000) "; replacewith:" 3000 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0079=methodname:"replace"; methoddescription:"(("; active:"1"; replace:"(("; replacewith:"("; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0080=methodname:"replace"; methoddescription:"))"; active:"1"; replace:"))"; replacewith:")"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0081=methodname:"add"; methoddescription:"-------------- Standardize Comic Numbering -------------"; active:"1"; position:"13"; backwards:"0"; applyto:"name"; regularexpressions:"0";
method0082=methodname:"replace"; methoddescription:" (\d{3})\ (\d{1})$"; active:"0"; replace:" (\d{3})\ (\d{1}) "; replacewith:" \1.\2 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0083=methodname:"replace"; methoddescription:"^(.+) (\d)$"; active:"1"; replace:"^(.+) (\d)$"; replacewith:"$1 00$2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0084=methodname:"replace"; methoddescription:"(.*) (\d{2}) (.*) (\d{2}) (.*)"; active:"0"; replace:"(.*) (\d{2}) (.*) (\d{2}) (.*)"; replacewith:"\1 0\2 \3 0\4 \5"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0085=methodname:"replace"; methoddescription:"^(.+)(\D)(\d{2}($|\D))"; active:"1"; replace:"^(.+)(\D)(\d{2}($|\D))"; replacewith:"\1\20\3"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0086=methodname:"replace"; methoddescription:" v(\d+) (\d{1})($|/D)"; active:"1"; replace:" v(\d+) (\d{1})($|/D)"; replacewith:" v\1 00\2 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0087=methodname:"replace"; methoddescription:"(.*) (\d{1}) (.*)"; active:"0"; replace:"(.*) (\d{1}) (.*)"; replacewith:"\1 00\2 \3"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0088=methodname:"replace"; methoddescription:"(.*) (\d{2})\.(\d{1})"; active:"0"; replace:"(.*) (\d{2})\.(\d{1}) "; replacewith:"\1 0\2.\3 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0089=methodname:"replace"; methoddescription:"(.*) (\d{3})\.(\d{1})"; active:"0"; replace:"(.*) (\d{3})\.(\d{1}) "; replacewith:"\1 \2.\3 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0090=methodname:"replace"; methoddescription:"(.*) (\d{1}). (.*)"; active:"0"; replace:"(.*) (\d{1})\. (.*)"; replacewith:"\1 00\2 \3"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0091=methodname:"replace"; methoddescription:"Remove Hypen From Issue #"; active:"1"; replace:" - (\d{3})$"; replacewith:" \1"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0092=methodname:"replace"; methoddescription:"" - (\d{3}) ""; active:"1"; replace:" - (\d{3}) "; replacewith:" \1 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0093=methodname:"replace"; methoddescription:"------- Fix Date Before Issue Number --------"; active:"1"; replace:"(.*) \((\d{4})\) (\d{3})"; replacewith:"\1 \3 (\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0094=methodname:"add"; methoddescription:"--------- Fix Incremental Issue Numbers ---------"; active:"1"; position:"0"; backwards:"1"; applyto:"name"; regularexpressions:"0";
method0095=methodname:"replace"; methoddescription:" (\d{2}).(\d{1})"; active:"1"; replace:" (\d{2})\.(\d{1}) "; replacewith:" 0\1.\2 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0096=methodname:"replace"; methoddescription:" (\d{1}) 00(\d{1}) "; active:"0"; replace:" (\d{1}) 00(\d{1}) "; replacewith:" 00\1.\2 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0097=methodname:"replace"; methoddescription:" 0 00(\d{1})"; active:"0"; replace:" 0 00(\d{1})"; replacewith:" 000.\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0098=methodname:"replace"; methoddescription:" 0(\d{2}) 00(\d{1})"; active:"1"; replace:" (\d{2})\.(\d{1})$"; replacewith:" 0\1.\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0099=methodname:"replace"; methoddescription:" (\d{1})\.(\d{1})"; active:"1"; replace:" (\d{1})\.(\d{1})"; replacewith:" 00\1.\2 "; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0100=methodname:"replace"; methoddescription:" - - - \ - - \- -\---\--\–\~"; active:"1"; replace:" - - - \ - - \- -\---\--\–\~"; replacewith:" - "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0101=methodname:"replace"; methoddescription:"Remove Hyphen From Bracketed"; active:"0"; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0102=methodname:"replace"; methoddescription:" v(\d+) (\d{3}) - \((.*)\)"; active:"0"; replace:" v(\d+) (\d{3}) - \((.*)\)"; replacewith:" v\1 \2 (\3)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0103=methodname:"replace"; methoddescription:"(.*) (\d{3}) - \((.*)\)"; active:"0"; replace:"(.*) (\d{3}) - \((.*)\)"; replacewith:"\1 \2 (\3)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0104=methodname:"add"; methoddescription:"---------------------------------------------------------------"; active:"0"; position:"0"; backwards:"1"; applyto:"name"; regularexpressions:"0";
method0105=methodname:"replace"; methoddescription:" \ \ \ \ \ \ "; active:"1"; replace:" \ \ \ \ \ \ "; replacewith:" "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0106=methodname:"replace"; methoddescription:"(## Of ##)"; active:"1"; replace:" \((\d{2}) of (\d{2})\)($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0107=methodname:"replace"; methoddescription:"### (Of ###)"; active:"1"; replace:" 0(\d{2}) \(of 0(\d{2})($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0108=methodname:"replace"; methoddescription:"## (Of ###)"; active:"1"; replace:" (\d{2}) \(of 0(\d{2})\)($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0109=methodname:"replace"; methoddescription:"### (Of ##)"; active:"1"; replace:" 0(\d{2}) \(of (\d{2})\)($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0110=methodname:"replace"; methoddescription:"### (Of #)"; active:"1"; replace:" 0(\d{2}) \(of (\d{1})\)($|\D)"; replacewith:" \1 (Of 0\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0111=methodname:"replace"; methoddescription:"### (Of##)"; active:"1"; replace:" 0(\d{2}) \(of(\d{2})\)($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0112=methodname:"replace"; methoddescription:"- ## (Of ##)"; active:"1"; replace:"- (\d{2}) \(of (\d{2})\)($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0113=methodname:"replace"; methoddescription:"# (Of ##)"; active:"1"; replace:" (\d{1}) \(of (\d{2})\)($|\D)"; replacewith:" 0\1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0114=methodname:"replace"; methoddescription:"# (Of #)"; active:"1"; replace:" (\d{1}) \(of (\d{1})\)($|\D)"; replacewith:" 0\1 (Of 0\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0115=methodname:"replace"; methoddescription:"#[of#]"; active:"1"; replace:" (\d{1})\[of(\d{1})\]($|\D)"; replacewith:" 0\1 (Of 0\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0116=methodname:"replace"; methoddescription:"# Of ###"; active:"1"; replace:" (\d{1}) of 00(\d{1})($|\D)"; replacewith:" 0\1 (Of 0\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0117=methodname:"replace"; methoddescription:"### Of ###"; active:"1"; replace:" 0(\d{2}) of 0(\d{2})($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0118=methodname:"replace"; methoddescription:"### Of ##"; active:"1"; replace:" 0(\d{2}) of (\d{2})($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0119=methodname:"replace"; methoddescription:"### Of #"; active:"1"; replace:" 0(\d{2}) of (\d{1})($|\D)"; replacewith:" \1 (Of 0\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0120=methodname:"replace"; methoddescription:"## Of ##"; active:"1"; replace:" (\d{2}) of (\d{2})($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0121=methodname:"replace"; methoddescription:"## Of #"; active:"1"; replace:" (\d{2}) of (\d{1})($|\D)"; replacewith:" \1 (Of 0\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0122=methodname:"replace"; methoddescription:"## Of ###"; active:"1"; replace:" (\d{2}) of 0(\d{2})($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0123=methodname:"replace"; methoddescription:"# Of #"; active:"1"; replace:" (\d{1}) of (\d{1})($|\D)"; replacewith:" \1 (Of \2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0124=methodname:"replace"; methoddescription:"# Of ##"; active:"1"; replace:" (\d{1}) of 0(\d{1})($|\D)"; replacewith:" 0\1 (Of 0\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0125=methodname:"replace"; methoddescription:"(# Of #)"; active:"1"; replace:" \((\d{1}) of (\d{1})\)($|\D)"; replacewith:" 0\1 (Of 0\2)"; casesensitive:"0"; regular


04/09-16 23:10 - edited 04/09-16 23:15
#8 : 04/09-16 23:56
G. Lambany
G. Lambany
Posts: 187
Reply to #6:
well, to be honest, my understanding of regular expressions is quite limited. I'm not too sure the difference between \1 and $1. Thing is, there is different kind of regular expression engines, so its hard to give a response that is right all the time.

regex can get quite complex, if you have an interest in these, I suggest you get a good book on them.

for scripting, I can suggest starting with python, it is quite nice to work with and you get results fast. Compared to other languages I used, this is by far the most friendly to use. You can automate pretty much anything you can think of with it, and also make full blown applications. There are some tools to make .exe file too from the scripts, even tools to convert the python code to C and make it very fast.

for the ($\D), there isn't any particular order except the regex engine will evaluate them in that order, so that might change the result I guess. Sometimes it's hard to understand what is happening exactly, takes practice.

and yes /d is a single digit. /d{4} is exactly 4 digits. /d{1,10} is between 1 and 10 digits and so on.. again, you should consult a book or the web, they will teach you regular expressions better than me, I am no expert.. : )

cheers!


04/09-16 23:56
#9 : 05/09-16 00:33
G. Lambany
G. Lambany
Posts: 187
Reply to #7:
yeah, there is a bunch that could be merged, and probably would make less of an interference with other rules

like all yours

(## Of ##)
### (Of ###)
## (Of ###)
### (Of ##)
### (Of #)
### (Of##)
- ## (Of ##)
# (Of ##)
# (Of #)
#[of#]
# Of ###
### Of ###
### Of ##
### Of #
## Of ##
## Of #
## Of ###
# Of #
# Of ##
(# Of #)

almost has all the same output format, so could probably be merge into one.. let me try (one expression, broken down)

non capture group, optional, of stuff before the first number, ( or - with space
(:?\(|-\s)?
the first number, captured group
(\d{1,3})
all variants of Of, non capture group (we put our own in the replace with)
(:?\s?(\(|\[)?[Oo][Ff]\s?)
second number, captured group
(\d{1,3})
non capture group, optional, of stuff after second number, ) or ]
(:?\]|\))?

replace with:
\1 (Of \2)

haven't tried it, but you get the idea, much cleaner

good luck, cheers





05/09-16 00:33 - edited 05/09-16 00:34
#10 : 05/09-16 02:12
David
David
Posts: 60
Reply to #9:

I was kind of hoping you would pick on that group of methods. I always thought there had to be a way to clean it up. The thing about that is I had to specify each possibility since each required a different modification. ie if it was a single digit I had to add a zero if it was 3 digits I had to remove a single zero etc.

I tried a combined method but couldn't figure out how to address the different starting points

Tried your method and here's the result
(:?\(|-\s)?(\d{1,3})(:?\s?(\(|\[)?[Oo][Ff]\s?)(\d{1,3})(:?\]|\))? - I think this is what you meant.
\1 (Of \2)
This is the result we're after
## (Of ##)

Starting with these various possiblilities (it's not every possible but it's a handful anyway)
01 - All-New Doop 001 (Of 005) (2014).cbr
02 - All-New Doop 002 (Of 5) (2014).cbr
03 - All-New Doop 003 (Of 05) (2014).cbr
04 - All-New Doop - 04 (Of 05) (2014).cbr
05 - All-New Doop 5 (Of 05) (2014).cbr
06 - Deadly Hands Of Kung Fu 1 (Of 4) (2014).cbr
07 - Deadly Hands Of Kung Fu 3 [Of 4] (2014).cbr
08 - Deadly Hands Of Kung Fu 4 Of 004 (2014).cbr
09 - Death Of Wolverine 001 Of 004 (2014).cbz
10 - Edge Of Spider Verse 002 Of 05 (2014).cbz
11 - Edge Of Spider Verse 03 Of 05 (2014).cbr
12 - Origin II 05 Of 005 (2014).cbr
13 - Original Sin 1 Of 8 (2014).cbr
14 - Original Sin 2 Of 08 (2014).cbr
15 - Original Sin (3 Of 8) (2014).cbr
16 - Original Sin (4Of8) (2014).cbr
17 - Original Sin 5Of8 (2014).cbr
18 - Original Sin 06Of08 (2014).cbr
19 - What If Age Of Ultron 01Of5 (2014).cbr
20 - What If Age Of Ultron 002 (Of5) (2014).cbr

I get these
01 - All-New Doop (Of 001)(2014).cbr
02 - All-New Doop (Of 002)(2014).cbr
03 - All-New Doop (Of 003)(2014).cbr
04 - All-New Doop (Of 04)(2014).cbr
05 - All-New Doop (Of 5)(2014).cbr
06 - Deadly Hands Of Kung Fu (Of 1)(2014).cbr
07 - Deadly Hands Of Kung Fu (Of 3)(2014).cbr
08 - Deadly Hands Of Kung Fu (Of 4)(2014).cbr
09 - Death Of Wolverine (Of 001)(2014).cbz
10 - Edge Of Spider-Verse (Of 002)(2014).cbz
11 - Edge Of Spider-Verse (Of 03)(2014).cbr
12 - Origin II (Of 05)(2014).cbr
13 - Original Sin (Of 1)(2014).cbr
14 - Original Sin (Of 2)(2014).cbr
15 - Original Sin (Of 3)(2014).cbr
16 - Original Sin (Of 4)(2014).cbr
17 - Original Sin (Of 5)(2014).cbr
18 - Original Sin (Of 06)(2014).cbr
19 - What If.. Age Of Ultron (Of 01)(2014).cbr
20 - What If.. Age Of Ultron (Of 002)(2014).cbr

lol. not exactly.
Like I said it's tricky. Even though you just know there has to be a more efficient way to do it using just one or even a few you really have to deal with various starting points.


05/09-16 02:12 - edited 05/09-16 02:13
#11 : 05/09-16 02:21
David
David
Posts: 60
Reply to #9:

How about the date group or the month group
ie
method0041=methodname:"add"; methoddescription:"Date Formatting"; active:"0"; position:"10"; add:"Part "; backwards:"1"; applyto:"name"; regularexpressions:"0";
method0042=methodname:"replace"; methoddescription:" (MONTH) DD YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{2}) (\d{4})"; replacewith:" \3 \1-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0043=methodname:"replace"; methoddescription:" DD (Month) YYYY"; active:"1"; replace:" (\d{2}) (January|February|March|April|May|June|July|August|September|October|November|December) (\d{4})"; replacewith:" \3 \2-\1"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0044=methodname:"replace"; methoddescription:" (MONTH) D, YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{1}), (\d{4})"; replacewith:" \3 \1-0\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0045=methodname:"replace"; methoddescription:" (MONTH) DD, YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{2}), (\d{4})"; replacewith:" \3 \1-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0046=methodname:"replace"; methoddescription:" (MONTH) YYYY"; active:"1"; replace:" (January|February|March|April|May|June|July|August|September|October|November|December) (\d{4})"; replacewith:" \2-\1"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0047=methodname:"replace"; methoddescription:"January"; active:"1"; replace:"january, \- january\january\janurary\ jan "; replacewith:" 01 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0048=methodname:"replace"; methoddescription:"February"; active:"1"; replace:"february, \- february\february\feburary\ feb "; replacewith:" 02 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0049=methodname:"replace"; methoddescription:"March"; active:"1"; replace:"march, \- march\march\ mar "; replacewith:" 03 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0050=methodname:"replace"; methoddescription:"April"; active:"1"; replace:"april, \- april\april\ apr "; replacewith:" 04 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0051=methodname:"replace"; methoddescription:"May"; active:"0"; replace:"may, \- may \ may "; replacewith:" 05 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0052=methodname:"replace"; methoddescription:"Aunt May Fix"; active:"1"; replace:"Aunt05\ Aunt 05 "; replacewith:" Aunt May "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0053=methodname:"replace"; methoddescription:"June"; active:"1"; replace:"\june, \- june\june \ jun "; replacewith:" 06 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0054=methodname:"replace"; methoddescription:"July"; active:"1"; replace:"july, \- july\july\ jul "; replacewith:" 07 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0055=methodname:"replace"; methoddescription:"August"; active:"1"; replace:"\august, \- august\august\ aug "; replacewith:" 08 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0056=methodname:"replace"; methoddescription:"September"; active:"1"; replace:"september, \- september\september\sept \ sep \sept)\"; replacewith:" 09 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0057=methodname:"replace"; methoddescription:"October"; active:"1"; replace:"october, \- october\october\ oct "; replacewith:" 10 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0058=methodname:"replace"; methoddescription:"November"; active:"1"; replace:"november, \- november\november\ nov "; replacewith:" 11 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0059=methodname:"replace"; methoddescription:"December"; active:"1"; replace:"december, \- december\december\ dec "; replacewith:" 12 "; casesensitive:"0"; regularexpressions:"0"; applyto:"name"; occurrence:"0";
method0060=methodname:"trim"; active:"1"; characters:" _+ "; applyto:"name"; casesensitive:"0";
method0061=methodname:"replace"; methoddescription:"Bracket Date At End ^(.+) (\d\d\d\d)$"; active:"1"; replace:"^(.+) (\d\d\d\d)$"; replacewith:"$1 ($2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0062=methodname:"replace"; methoddescription:"With ONLY Closing Bracket ^(.+) (\d\d\d\d)\)$"; active:"0"; replace:"^(.+) (\d\d\d\d)\)$"; replacewith:"$1 ($2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0063=methodname:"replace"; methoddescription:" (yyyy DC)"; active:"1"; replace:" \((\d{4}) DC\) "; replacewith:" (\1)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0064=methodname:"replace"; methoddescription:" (Timely yyyy) "; active:"1"; replace:" \((Atlas|Timely) (\d{4})\) "; replacewith:" (\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0065=methodname:"replace"; methoddescription:"(dd - yyyy)"; active:"1"; replace:"\((\d{2}) - (\d{4})\)"; replacewith:"\2-\1"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0066=methodname:"replace"; methoddescription:"(dd.yyyy)"; active:"1"; replace:"\((\d{2}).(\d{4})\)"; replacewith:"(\2-\1)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0067=methodname:"replace"; methoddescription:" yyyy-dd$ - Add Brackets To Date"; active:"1"; replace:" (\d{4})-(\d{2})$"; replacewith:" (\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0068=methodname:"replace"; methoddescription:" (yyyy - dd)"; active:"1"; replace:" \((\d{4}) - (\d{2})\)"; replacewith:" (\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0069=methodname:"replace"; methoddescription:"(yyyy.dd)"; active:"1"; replace:"\((\d{4}).(\d{2})\)"; replacewith:"(\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0070=methodname:"replace"; methoddescription:"yyyy-dd - (.*)"; active:"0"; replace:"(\d{4})-(\d{2}) - (.*)"; replacewith:"\3 (\1-\2)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0071=methodname:"replace"; methoddescription:"(yyyy-mm-dd)"; active:"0"; replace:"\((\d{4})-(\d{2})-(\d{2})\)"; replacewith:"(\1 \2-\3)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0072=methodname:"replace"; methoddescription:"yyyy.mm.dd"; active:"0"; replace:"(\d{4}).(\d{2}).(\d{2})"; replacewith:"\1-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0073=methodname:"replace"; methoddescription:"(mm (yyyy-mm)$"; active:"1"; replace:"\((\d{2}) \((\d{4})-(\d{2})\)$"; replacewith:"(\2-\3)"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0074=methodname:"replace"; methoddescription:"Fix Screwed Up Year-Year"; active:"0"; replace:"(\d{2})\.(\d{4})-(\d{2})"; replacewith:"\1\3-\2"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";
method0075=methodname:"replace"; methoddescription:"Bracket Year"; active:"0"; replace:"(.*) (\d{4}) (.*)"; replacewith:"\1 (\2) \3"; casesensitive:"0"; regularexpressions:"1"; applyto:"name"; occurrence:"0";


05/09-16 02:21
#12 : 05/09-16 03:08
G. Lambany
G. Lambany
Posts: 187
Reply to #11:
Well, like I said, I didn't test it.. I ment to say it probably won't work, but it's a start

never say "it's more complicated". It isn't, you just need to up your knowledge level. It'll work, trust me (and I mean you learning regex more in depth.. : D )

3 methods instead of 20 :

replace
(.{5})(\D+?)(?:\(|-\s)?(\d{1,3})\s?(?:\(|\[)?(?:[Oo][Ff]\s?)(\d{1,3})(?:\]|\))?(.+)$
\1\2\3 (Of \4)\5

Renumber #1
number pos: 2
number diff: 0
zero padding: manual
number lenght: 2

Renumber #2
number pos: 3
number diff: 0
zero padding: manual
number lenght: 2

you'll have to do the dates yourself.. : )

cheers!


05/09-16 03:08
#13 : 05/09-16 04:57
David
David
Posts: 60
Reply to #12:

...Yeah... I'm pretty much certain using a renumber in this preset isn't going to work. There's a million different forms these filenames come in and throwing a renumber in there is going to mess with AT LEAST half of them no matter how or where I put it.
The only way I can use a renumber is if it's the only method or I'm renumbering a list of names with identical structure so the renumbered number is in the same place in all the filenames.

Thanks for the effort though. I appreciate the lessons and the time you've taken to help me out. It speaks highly of you. Have a good night.


05/09-16 04:57
#14 : 05/09-16 05:06
David
David
Posts: 60
Reply to #12:

Would it be possible to strip all leading zeros from any filename that had the structure "# of #" and the rest
It would have to account for the various beginning structures including those which start with brackets and those that don't.
Then all possibles would be eliminated and all files would have an identical structure now. Then I could just add a zero to the first and the second number and presto. Perfect.


05/09-16 05:06
#15 : 05/09-16 16:13
G. Lambany
G. Lambany
Posts: 187
Reply to #14:
You can try the regex select of AE, in the file list right click->Mark->Mark by pattern the check the use regex

cheers


05/09-16 16:13