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

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

mk1065
Posts: 6
Joined: Thu Feb 14, 2008 9:27 am
Contact:

Re: RegExp Find & Replace 3.5 w/ 101 presets (2009-06-18)[MM2+3]

Post by mk1065 »

Thanks ZvezdanD that worked perfect! At last!!!!!!!!!!!!!! All my featured artists are perfect :lol:

Does anyone know how to accomplish this...

Find what: (Artist, Artist) or (Artist, Artist, Artist)

Replace with: (Artist & Artist) or (Artist, Artist & Artist)
martialartsguy
Posts: 312
Joined: Mon Apr 03, 2006 9:11 am
Location: Denver, CO

Re: RegExp Find & Replace 3.5 w/ 101 presets (2009-06-18)[MM2+3]

Post by martialartsguy »

martialartsguy wrote:Question here, and again I apologize for my lack of knowledge with regexp. I'd like to capitalize all the text (from: happy to: Happy) in all the following fields:

Tempo, Mood, Occasion, Quality

I use these a lot and sometimes forget to capitalize. I have presets set up for each one, but if I could run all four at once, that'd be excellent.
Each has the following setting:

Find What: ([\w\xDF-\xF6\xF8-\xFF\u0100-\u024F\u0400-\u04FF])([\w'\xDF-\xF6\xF8-\xFF\u0100-\u024F\u0400-\u04FF]*)
Replace with: UCase("$1") & LCase("$2")

Thanks for your help.
ZvezdanD - Any help here por favor?
MM Gold since 2006
ZvezdanD
Posts: 3272
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.5 w/ 101 presets (2009-06-18)[MM2+3]

Post by ZvezdanD »

Big Isch wrote:My suggestion is to add a text-field that functions as filter for the presets display in the listbox.
nynaevelan wrote:As an organizational maniac I agree with this suggestion. :D
Thanks so much for suggestion. It is really interesting, but I am already working on some another approach for grouping presets which I already described before. This is not so trivial and there are also many other things which I am working on, so it needs time to finish.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
ZvezdanD
Posts: 3272
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.5 w/ 101 presets (2009-06-18)[MM2+3]

Post by ZvezdanD »

martialartsguy wrote:I have presets set up for each one, but if I could run all four at once, that'd be excellent.
I said many times before - the current version of this script could modify only one field at time (although it could use many fields as a source). The Batch option which could be used to execute several presets at once is on my To Do list.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
ZvezdanD
Posts: 3272
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegSub Help

Post by ZvezdanD »

GIL wrote:Do you ever wish you could get the version 35.9 of this script from the year 2025?
I am not sure that understand. Do you want to say that there are too many updates of this script or that its development is too slow?

By the way, there is a new update (3.7) with the mentioned function, I already described its usage.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
ZvezdanD
Posts: 3272
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.5 w/ 101 presets (2009-06-18)[MM2+3]

Post by ZvezdanD »

mk1065 wrote:Does anyone know how to accomplish this...

Find what: (Artist, Artist) or (Artist, Artist, Artist)

Replace with: (Artist & Artist) or (Artist, Artist & Artist)
Find what:

Code: Select all

, ([^,&]+?)$
RegExp1: on
Replace with:

Code: Select all

  & $1
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
mk1065
Posts: 6
Joined: Thu Feb 14, 2008 9:27 am
Contact:

Re: RegExp Find & Replace 3.6 w/ 101 presets (2009-07-02)[MM2+3]

Post by mk1065 »

ZvezdanD - You Rock!!!
Big Isch
Posts: 112
Joined: Mon Mar 12, 2007 8:34 am
Location: Austria

Re: RegExp Find & Replace 3.6 w/ 101 presets (2009-07-02)[MM2+3]

Post by Big Isch »

Hee,

DateTimeISO really helps, just as MapArrayEx does - Thanks a lot.

What about a DateISO when needing just the date? (Well, could also use Left( DateTimeISO(), 10) anyway.
ZvezdanD
Posts: 3272
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.6 w/ 101 presets (2009-07-02)[MM2+3]

Post by ZvezdanD »

Big Isch wrote:What about a DateISO when needing just the date? (Well, could also use Left( DateTimeISO(), 10) anyway.
I will add it with the next update, although you could use Left... as you mentioned.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
markeh
Posts: 269
Joined: Fri May 25, 2007 1:30 am

Regrxp - change toolbar order?

Post by markeh »

Great script!

Is there a way to control the order that toolbar buttons appear in the search toolbar?


thnx
ZvezdanD
Posts: 3272
Joined: Thu Jun 08, 2006 7:40 pm

Re: Regrxp - change toolbar order?

Post by ZvezdanD »

markeh wrote:Is there a way to control the order that toolbar buttons appear in the search toolbar?
Of course. Moving some preset through the list of presets by Up/Down buttons you change its order in toolbar as well.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
markeh
Posts: 269
Joined: Fri May 25, 2007 1:30 am

Re: RegExp Find & Replace 3.6 w/ 101 presets (2009-07-02)[MM2+3]

Post by markeh »

Of course. Moving some preset through the list of presets by Up/Down buttons you change its order in toolbar as well.

Of course - now I see it.

I didn't realize that I needed to close/open MM for it to show.

Thanks,


.
ZvezdanD
Posts: 3272
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 3.6 w/ 101 presets (2009-07-02)[MM2+3]

Post by ZvezdanD »

markeh wrote:I didn't realize that I needed to close/open MM for it to show.
??? You don't need to restart MM to show RegExp toolbar buttons - changes on them are automatically displayed.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
markeh
Posts: 269
Joined: Fri May 25, 2007 1:30 am

Re: RegExp Find & Replace 3.6 w/ 101 presets (2009-07-02)[MM2+3]

Post by markeh »

??? You don't need to restart MM to show RegExp toolbar buttons - changes on them are automatically displayed.

Well, it does now... I don't think I just missed it, so at least a few times it didn't.

Thanks,


.
markeh
Posts: 269
Joined: Fri May 25, 2007 1:30 am

bypass "confirm" message on button

Post by markeh »

I have defined two regular expressions (and attached buttons) that changes a custom field to either "Y" (meaning sync to my iPod) to blank, meaning (duh...) don't sync.

For more complex changes, I certainly want the confirmation message before I change hundreds of tracks. But in this case, its an extra step that I would like to avoid.

Any way of turning this off, just for these two changes??


Thank,



.
Post Reply