NWDreamer wrote:Now that I am using v4.4.1, I can't seem to find the generic "Find & Replace in <Into Field>" that I used to use a lot. I believe it used to be the top preset, but that's now "Replace underlines with spaces in <Into Field>..."
The "Replace specified string with another one in <Into Field>..." preset is the first predefined preset since v4.0 when I have added a possibility to specify <Into Field> and <String> tags in
Find what and
Replace with strings. I decided to put it on the top since I think it is most important preset that has basically the same or similar function as the Replace option in any normal application like text editor.
If that preset is not on the top of your list, that could be because of several things, most probably because of your actions, e.g. if you removed it or moved it downward in the list. Also, maybe during the installation your old and new presets somehow messed up. Here is the excerpt of the Installation section:
"If you are upgrading this add-on from some old version, especially if there is updated syntax of presets, it is strongly recommend to follow these steps:
1. make a backup of your own created presets using the
Edit / RegExp Export/Import dialog box;
2. uninstall old version of add-on and choose Yes when you are asked if you want to remove add-on settings;
3. install the new version of add-on;
4. import your own created presets using the
Edit / RegExp Export/Import dialog box.
In that way you would always have the latest and updated presets. If you don't remove old settings (together with presets), during the installation this script would check the preset's names and if they are same as old ones it would skip their installation, even if they are updated."
The add-on's menu is modified in the 4.4 version. So, when you want to import presets, instead of
Edit / RegExp Export/Import option there is now
Edit / RegExp Find and Replace / Manage Presets option (now it could be found in the popup menus and the toolbar as well). When I am already at it, maybe I should mention that instead of
Edit / RegExp Find and Replace option now you could use
Edit / RegExp Find and Replace / Preset Settings option to get the same RegExp main dialog box.
NWDreamer wrote:FYI - I was using it with the Title field to find " a" (space, lowercase 'a') and replace it with " A" then " b" to be replaced with " B" and so on. Then I would go through the whole exercise again with "(a" to "(A" etc. Part of this comes from the fact that the Auto Playlists don't differentiate between uppercase and lowercase (very annoying actually). If there's an easier way to do this using one or two RegExp's I'd love to know how! The third in my trio would find any title that starts with a lowercase letter and make it an uppercase letter.
Did you try any of "Capitalize..." presets? They would uppercase the first letters and lowercase the other ones for all words in the specified field. You could also try "Uppercase only first letter of each line or sentence of Lyrics, others unchanged" but you need to replace Lyrics with the wanted field in the
Into combo box of the
Preset Settings dialog box.
Or, you could use this preset:
Preset:
Uppercase only first letter of <Into Field>, others unchanged...
Description: another Brick in the Wall -> Another Brick in the Wall
Find what: ^[^\w\xC0-\xD6\xD8-\xF6\xF8-\xFF\u0100-\u024F\u0400-\u04FF]*[\w\xC0-\xD6\xD8-\xF6\xF8-\xFF\u0100-\u024F\u0400-\u04FF]
Regular expression 1: checked
Replace with: UCase("$&")
VBScript: checked
Or, maybe this one:
Preset:
Uppercase first letter of <Into Field> and lowercase others...
Description: another Brick in the Wall -> Another brick in the wall
Find what: ^([^\w\xC0-\xD6\xD8-\xF6\xF8-\xFF\u0100-\u024F\u0400-\u04FF]*[\w\xC0-\xD6\xD8-\xF6\xF8-\xFF\u0100-\u024F\u0400-\u04FF])(.*)
Regular expression 1: checked
Replace with: UCase("$1") & LCase("$2")
VBScript: checked