RegExp Find and Replace
Script for MediaMonkey

Version 3.6

by Zvezdan Dimitrijevic


This script is for use with MediaMonkey v2.x or v3.x. It allows powerful finding and replacing of strings inside of selected/visible tracks in the tracklist window of your audio database. The matching criteria and the replacement string can be created using Regular expressions or VBScript expressions which provides very flexible transformations of data. Almost all MM fields are supported!

For a discussion about this script and a furher explanation about its usage, you could visit the related MediaMonkey forum.

Download:

è Latest version of the script

You could also take a look on my other scripts for MediaMonkey:

Visitors since
2008-04-19

What is new:

v3.6 - 2009-07-02
- Added: MapArrayEx and DateTimeISO custom functions.

v3.5.1 - 2009-06-18
- Fixed: error during start-up if none preset exists.

v3.5 - 2009-05-14
- Improved: skin styles;
- Fixed: load of empty and duplicated presets.

v3.4.3 - 2009-05-10
- Fixed: modifications of the Date and the Original Date fields.

v3.4.2 - 2009-04-14
- Fixed: saving of presets with localized versions of Windows.

v3.4.1 - 2009-02-25
- Fixed: Replace/Replace All for some presets (a bug introduced with the last update).

v3.4 - 2009-02-21
- Added: possibility to cancel Find Next/Replace All operations;
- Added: insert of the field name on the cursor position in the Replace with edit box (MM 3.1.0.1222 or up);
- Added: some new presets;
- Improved (bug): speed of the Replace All (drastically) when there are many unmatched tracks (bug).

v3.3 - 2009-02-02
- Added: auto-repeat for Up/Down buttons in the Export/Import dialog box with MM 3.1.0.1220 or up;
- Added: word-wrap option for display of presets in the Export/Import dialog box;
- Added: alphabetical sort of presets in the Export/Import dialog box by click on the table header.

v3.2 - 2009-01-20
- Improved: look of dialog boxes with some skins (custom configurable with CSS files);
- Improved: speed of selecting tracks for main tracklist (drastically) and Now Playing panel with MM 3.1.0.1214 and up;
- Added: some new presets (some old improved).

v3.1 - 2009-01-10
- Added: option to enable/disable display of the toolbar button for the last executed preset;
- Added: option to keep display of the toolbar button for the last executed preset after restart;
- Added: some new presets (some old improved);
- Fixed: detection when the Now Playing panel has a focus, even with MM3 older that 3.1.0.1210;
- Fixed: Select un/matched/Select to replace.

v3.0 - 2009-01-02
- Added: export/import/batch delete of presets;
- Added: option to display every checked preset as the toolbar button;
- Added: option to asign an icon to the preset item in the menu/toolbar (could be from external .ico file);
- Added: option for backward direction when finding matched tracks;
- Added: possibility to find/replace data in tracks from the Now Playing panel [MM3];
- Added: Day, Month, Date, Original Day, Original Month and Original Date fields (the old Date renamed to Year, the old Original Date renamed to Original Year; the new Date/Original Date accepts full date format YYYY-MM-DD) [MM3];
- Added: option to delete emptied folders when moving files as a result of the Path modification;
- Added/improved: the New button (old behavior when creating new presets is abandoned);
- Added: many new presets (many old improved);
- Improved: speed of Replace and Replace All when only few songs from a large list of songs should be updated;
- Fixed/improved: Select un/matched/Select to replace with large number of selected/visible tracks;
- Fixed: reading/writing presets from the .ini file with MM 3.1.0.1198 and newer (actually, the format of presets in .ini file is changed);
- Fixed: truncated bottom buttons with some skins.

v2.2.2 - 2008-06-20
- Fixed: error "file not found".

v2.2.1 - 2008-06-19
- Added: synchronous display of current track in the table during navigation;
- Added: possibility for jump to current track by click on the coresponding row number in the table;
- Fixed: reset of the table after Replace command;
- Fixed: checked state of rows in the table after toggle with the "?" button;
- Fixed: merging new presets with old ones after installation for multi-user accounts.

v2.2 - 2008-06-14
- Added: possibility to check which tracks from the table should be replaced;
- Added: IfNull custom function for use with VBScript expressions;
- Added: many new presets (some old improved);
- Fixed: moving to the previous/next group of tracks (buttons |< and >|).

v2.1.2 - 2008-06-11
- Fixed: display of the new line characters in the string when used with the VBScript expression.

v2.1.1 - 2008-06-10
- Fixed: display and replacement of the new line characters in the string (Lyrics, Comment).

v2.1 - 2008-05-27
- Added: options to select all un/matched tracks in the tracklist (Sel. matched and Sel. unmatch.) [MM3];
- Added: options to keep only un/matched tracks, other tracks are removed from the tracklist (Keep matched and Keep unmatch.);
- Added: option to select all tracks that could be modified, i.e. old content is different than replacement (Sel. replace) [MM3];
- Added: option to keep only tracks that could be modified (Keep replace);
- Added: option to toggle between selected/visible tracks;
- Added: different highlight colors for matched tracks and for tracks that could be modified;
- Added: SQLQuery custom function for use with VBScript expressions;
- Added: many new presets (some old improved);
- Improved: response during a table refresh with time consuming expressions;
- Fixed: table with old/new content not updated after Replace All.

v2.0.1 - 2008-05-19
- Fixed: INI file with presets;
- Fixed: the ordinal number of tracks displayed in the table.

v2.0 - 2008-05-19
- Added: support for presets (Save, Delete, Move Up/Down) with more than 30 already predefined;
- Added: support for VBScript expressions for replacement;
- Added: the table with old/new display for defined number of selected/visible tracks;
- Added: highlighted display of matches;
- Added: Find what/Replace with dropdown lists with recently entered strings;
- Added: support for the progress bar and many other improvements.

v1.0.2 - 2008-05-07
- Fixed: updating tags into files.

v1.0.1 - 2008-04-25
- Fixed: error which is manifesting with double apostrophes inside of the field text.

v1.0 - 2008-04-19
- First public version.

Installation:

Note: The RegExpReplace.ini file in Auto folder is used only after installation. During its work, the RegExp Find & Replace script stores presets into the MediaMonkey.ini file.

Usage:

Choose the Edit / RegExp Find and Replace option; script settings are in the Tools / Options dialog box within RegExp Find and Replace tab.