RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]

Re: Preset Add Track number to the begin of Title

Post by GuidoR13 » Fri May 27, 2016 4:31 pm

Oh, sorry: After exporting my presets, deinstall & reinstall this extension (with default preset) problem vanished, importing my presets worked also.

"Sturm im Wasserglas" ...

Re: Preset Add Track number to the begin of Title

Post by ZvezdanD » Wed May 25, 2016 10:37 am

GuidoR13 wrote:I have a (new?) problem with replacing when a string contains a questionmark "?", e.g. with "Add Track number to the begin of Title": The title "Bist du in Ordnung?" leads to an expression error in the unchanged preset.

That should not happen. Do you get the same thing after restart of the program? Could you install my Event Logger add-on which could show additional information about the error? If not, could you upload your database packed with Zip to some file sharing service like Dropbox, so I could try to reproduce the problem?

Re: Preset Add Track number to the begin of Title

Post by MMFrLife » Mon May 23, 2016 5:42 pm

GuidoR13 wrote:I have a (new?) problem with replacing when a string contains a questionmark "?", e.g. with "Add Track number to the begin of Title": The title "Bist du in Ordnung?" leads to an expression error in the unchanged preset.


Works fine for me.
What version (Standard or Donate and #)?

Preset Add Track number to the begin of Title

Post by GuidoR13 » Mon May 23, 2016 10:37 am

Hello,

I have a (new?) problem with replacing when a string contains a questionmark "?", e.g. with "Add Track number to the begin of Title": The title "Bist du in Ordnung?" leads to an expression error in the unchanged preset.

Screenshot http://www.tiikoni.com/tis/view/?id=028783e

Preset Assign Disc number from [(Disc/CD nn)] ...

Post by GuidoR13 » Mon May 23, 2016 9:31 am

Hello, thanks for this GREAT script.

Regarding your preset "Assign Disc number from [(Disc/CD nn)] from the end of Album name". This does not deal with some of my regular cases.

After some optimizing you may find this one useful:

Code: Select all
RegExpEx(oSongData.AlbumName,"
^(.*)\s+(?:\(|\[)?(?:CD|Disc|\(){1}\s?(\d+)((\s?(v|\-|/|von|of|\s)\s?)\d+)?(?:\)|\])?.*$
",0,1)


Works Album CD3
Works Album CD 3
Works Album CD3v4
Works Album CD5/4
Works Album CD4-6
Works Album CD 4 von 78
Works Album (CD4)
Works Album (CD 4)
Works 4 Album CD 45
Works Alb1um3 3 Disc 6 HUHUH
Works Album (3)
Works Album (CD1)
Works Album [CD 1]
Works Album (Disc 1)
Don't AlbumCD3
Don't Album 3
Don't Album 3. CD

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by sordup » Sun May 15, 2016 5:19 pm

ZvezdanD wrote:
sordup wrote:I am looking to copy a specific portion of a field, of only X characters in length, into another field, replacing whatever, if any, string was there before.

Did you try the "Assign specified number of characters from the middle of <From Field> to <Into Field>" preset?



Ooo! I didn't see that one. I will check it...

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by MMFrLife » Sun May 15, 2016 12:40 pm

This is bizarre indeed, as we have exactly the same version. Oh well, not a pressing issue, as I'm not trying to achieve what you are. It is still annoying that
I don't currently seem to have the same functionality :( .

Anyway, getting a bit off topic here, but if anyone has any ideas, just PM me about it.
Thanks

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by quietroom » Sun May 15, 2016 10:57 am

My OS System is as follows

OS Name Microsoft Windows 7 Home Premium

Version 6.1.7601 Service Pack 1 Build 7601

But I must admit I have never seen any difference in the properties box before ? I hope you get it sorted Regards Quietroom

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by MMFrLife » Sun May 15, 2016 9:47 am

Yeah, I guess that's the difference. For some reason, selecting remove option shows checkboxes for "everything" in "all" three sections for you but not for me.

Oh well, just another mystery I'll try and look into. I do notice that your properties dialog box is arranged differently than mine.
A couple of the sections are named differently and the info on mine seems to be consolidated into a lesser # of sections.
It maybe the reult of Windows updates. What type of 7 do you have (mine is Home Premium)? Is your version up
to the last update?

If you don't know don't worry about it, just curious. Thanks for the info and good luck to you in your
merry Monkeying ways! :D

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by quietroom » Sun May 15, 2016 9:30 am

Hi MMFrLife, I'm surprised because if you select the second option "Remove" it provides a selection of check boxes for you to check, all you have to do is select which ones you want to clear, there is no need to highlight anything just select the check boxes for the fields you wish to clear and it should work when you press OK. I have done several hundred files this way today with all different data in the fields and they all cleared no problem. The only way I could see this not working is if your files are write protected "Read Only" wishing you luck Regards Quietroom

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by MMFrLife » Sun May 15, 2016 8:15 am

I tried all that and out of the three sections of info, Media, Audio and File, only the Media section presents
check boxes for you to select. You can "highlight select" the Encoded by field in the Audio section,
but it doesn't do anything. :-?

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by quietroom » Sun May 15, 2016 7:52 am

Hi MMFrLife, as I said I searched the web which gave me a starting point, the rest I found out by trail and error below is how I done it, but please before you try it MAKE A COPY.
1. Select all your files then right click for properties then details.
2. At the bottom of box is "Remove Properties and Personal Information" click on this and a new box appears.
3. At the top of this box is two options, I chose the second option "Remove the following properties from this file" this gives you everything that is in the properties box.
4. Select the fields you want to delete and press OK

I hope this is of use to you but please proceed with care Regards Quietroom

P.S. I'm using Windows 7

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by MMFrLife » Sun May 15, 2016 5:32 am

I'm glad you have some way of dealing with it :) . I tried changing it in Windows properties and I can only alter the
info in the top section (media) of details. Anything below (including Audio section, with Encoded by) can't be.
I'm using Win7. It may be some sort of special rights thing. What OS/ver. are you using?

The only other way I know that changes the info in that field is to reconvert to same/different specs using
a program other than the one used to rip that's listed in that field. Of course, that doesn't clear it. :-?

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by quietroom » Sun May 15, 2016 4:30 am

A BIG THANK YOU to MMFrLife and ZvezdanD for your time and information, I searched the Web for an answer and came back with a crude but simple way of solving my problem. Which is to select the files in windows and right click for properties, details, etc and just delete the unwanted information. I know it's not perfect but it beats doing one file at a time. Once again MMFrLife and ZvezdanD Thank You for your time. Regards Quietroom

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Post by ZvezdanD » Sun May 15, 2016 2:08 am

sordup wrote:I am looking to copy a specific portion of a field, of only X characters in length, into another field, replacing whatever, if any, string was there before.

Did you try the "Assign specified number of characters from the middle of <From Field> to <Into Field>" preset?

Top