This has been already mentioned in this thread and in the Windows Defender Issue section of the add-on's web page.
RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
● 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
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
2 quick questions...
Would this script be able to sort strings within the a field? For instance, I have certain tags that I've added to them for various reasons. (The amount of tags exceed amount of custom fields, so that is not an option) Since I've added these tags at various times, I'd like to go through and sort them into alphabetical order.
Also, would this script be able to add a new line for each tag within the comment field?
Thanks!
Would this script be able to sort strings within the a field? For instance, I have certain tags that I've added to them for various reasons. (The amount of tags exceed amount of custom fields, so that is not an option) Since I've added these tags at various times, I'd like to go through and sort them into alphabetical order.
Also, would this script be able to add a new line for each tag within the comment field?
Thanks!
Disc Jockey (DJ & VJ) ; AV & Lighting Tech ; Music Lover of all types
MediaMonkey Gold - Proud Lifetime License holder, Since Aug 2008
MediaMonkey Gold - Proud Lifetime License holder, Since Aug 2008
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
I would not say that it is impossible, but you will need to write a very complex VBScript.
That would be more easily, but it depends of that how you have separated tags. For example, if you have the "; " as a tag separator, you could try to replace "; " (without quotes) with "; " & vbCrLf. VBScript expression should be turned on.
● 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
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
Hi,
I have been using this excellent script for several years now. Today, I installed F-Secure SAFE suite of security apps, including "App and file control". This app has blocked the file RegExpReplace.vbs with a description:
Worm:W32/Njw0rm is a detection for maliciously modified shortcut (.LNK) files that are designed to trick users into unwittingly launching the NjW0rm file.
I think this may be a false positive, as no other AV programs have detected or blocked it. Can I just have some assurance that it's absolutely safe?
Thanks
I have been using this excellent script for several years now. Today, I installed F-Secure SAFE suite of security apps, including "App and file control". This app has blocked the file RegExpReplace.vbs with a description:
Worm:W32/Njw0rm is a detection for maliciously modified shortcut (.LNK) files that are designed to trick users into unwittingly launching the NjW0rm file.
I think this may be a false positive, as no other AV programs have detected or blocked it. Can I just have some assurance that it's absolutely safe?
Thanks
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
I don't know what kind of assurance you expect from me. I am here for more than 10 years, with more than 3000 posts, and almost 20 add-ons. For all those years nobody complained about the safety of my add-ons, excluding those reports about F-Secure that I have mentioned in the Notice section of the add-on's web page.
Besides, my add-ons could be reviewed for malicious code by anyone who knows VBScript.
● 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
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
Hi,ZvezdanD wrote: ↑Sat Oct 12, 2019 10:34 amI don't know what kind of assurance you expect from me. I am here for more than 10 years, with more than 3000 posts, and almost 20 add-ons. For all those years nobody complained about the safety of my add-ons, excluding those reports about F-Secure that I have mentioned in the Notice section of the add-on's web page.
Besides, my add-ons could be reviewed for malicious code by anyone who knows VBScript.
My post was not intended to offend you, as the author of the add-on, so I apologise if it did. As I said in my original post I think the add-on is excellent. I was just wondering if anyone else was using your add-on along with F-Secure and had noticed the same file blocking. That's all. I will whitelist your add-on in F-Secure. Have a good day.
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
It's all right, I am not offended, although I don't like if someone is suspicious about my behavior. I am the one who don't like malicious software either and I think the world would be much better place without it. I don't like having installed firewall and anti-virus software who slows down my computer and takes 1GB on its hard disk just to be safe of those rotten apples.
Yes, there was reports about F-Secure in this thread, just use the search tool of the forum and you will find them.
● 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
-
- Posts: 2
- Joined: Sat Nov 02, 2019 2:24 pm
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
This add-on is very powerful and I use it quite often to move information from one field to an other (like feat. artist).
I would have been great to add the capability to move information in one step, with presets I have to use copy first and remove in a second step.
I would have been great to add the capability to move information in one step, with presets I have to use copy first and remove in a second step.
-
- Posts: 2
- Joined: Sat Nov 02, 2019 2:24 pm
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
I have just installed the new version and I realize that it's a already feature of the registered version... great job !Polystyrene wrote: ↑Sat Nov 02, 2019 2:33 pm This add-on is very powerful and I use it quite often to move information from one field to an other (like feat. artist).
I would have been great to add the capability to move information in one step, with presets I have to use copy first and remove in a second step.
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
Recently formatted my computer & can't remember how I created a custom preset for this. All I'm looking to do is to add the artist name before the album title. Any help's appreciated!
Batch add artist name before the album title with RegExpReplace
Hello. Recently wiped out my PC & can't remember how I had MM set up to to batch add artist name before the album title (The Beatles: Abbey Road"). I have the "RegExpReplace-4.4.4.mmip" file, but cannot remember what to do. Please help, thanks!
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
Hi, folks. New MM user here, and I was referred to this addon when I asked how I could reset the Last Played date on a couple of hundred of my files which appear to have invalid data in that field. I've downloaded and installed, but when I try to run the "Reset Last Played field" on one of these files, I get an "Expression Error!" failure. I also get the same if I run the "Clear <Into Field>..." preset and select Last Played as the target.
Unfortunately the error message doesn't provide any further information. Is there a log or diagnostic option that I can set to try to get a handle on why it's barfing on these files?
Thanks!
Unfortunately the error message doesn't provide any further information. Is there a log or diagnostic option that I can set to try to get a handle on why it's barfing on these files?
Thanks!
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
Please post the screenshot of the Preset Settings dialog box with selected the mentioned preset and the file that has that error.
By the way, the "Clear <Into Field>..." preset is only for textual fields.
● 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
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
Hello, All,
I tried to find this answer a variety of ways - It's either not present or written in such a way as to not find it...
I've got a bunch of media files from various sources that have been moved from drive to drive over a long time... Because of the method used each time, some of the filenames have "repeating text"
The tags on these are not correct or I'd just use that data... I've yet to take time to go through and fix the tags. However, I'd like to shorten the filenames by removing the "duplicate" text.
For example:
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --01- 005)Can't Buy Me Love - The Beatles [603] [131] Track - Beatles, The [329]) Track10 - Beatles, T [683]) Track10 - Beatles, T [404]).mp3
I want that to be:
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - Beatles, The [329]) Track10 - Beatles, T [683]) Track10 - Beatles, T [404]).mp3
Second and etc. pass would find those extra "Beatles, The" and "Beatles, T", etc.
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) Track10 - Beatles, T [683]) Track10 - Beatles, T [404]).mp3
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) Track10 - [683]) Track10 - [404]).mp3
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) 10 - [683]) 10 - [404]).mp3
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) 10 - [683]) [404]).mp3
etc. (Shorter - some filenames by a lot!)
Any idea whether RegExp Find & Replace is capable of doing this? I tried writing some regex to search/replace on a few sites, and found an expression that seemed to work right...
Search: ((q:\\)(.*?)(.{3,}))(.*?)\4(.*)
Repalce: \2\3\4\6
(Q is the drive they're on, tests on full filenames worked.)
Has anyone ever written such a search? The big problem is the text being replaced is different for each file, different length, etc. (I can get rid of the extra whitespace at any time - left in for illustration.) The above makes no difference at all - no matches.
Thank you,
-- TLD
***For others searching for this:
Regex duplicate text remove
Repeating text field
Shorten filename extra text
I tried to find this answer a variety of ways - It's either not present or written in such a way as to not find it...
I've got a bunch of media files from various sources that have been moved from drive to drive over a long time... Because of the method used each time, some of the filenames have "repeating text"
The tags on these are not correct or I'd just use that data... I've yet to take time to go through and fix the tags. However, I'd like to shorten the filenames by removing the "duplicate" text.
For example:
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --01- 005)Can't Buy Me Love - The Beatles [603] [131] Track - Beatles, The [329]) Track10 - Beatles, T [683]) Track10 - Beatles, T [404]).mp3
I want that to be:
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - Beatles, The [329]) Track10 - Beatles, T [683]) Track10 - Beatles, T [404]).mp3
Second and etc. pass would find those extra "Beatles, The" and "Beatles, T", etc.
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) Track10 - Beatles, T [683]) Track10 - Beatles, T [404]).mp3
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) Track10 - [683]) Track10 - [404]).mp3
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) 10 - [683]) 10 - [404]).mp3
Q:\folder\001-005 - Can't Buy Me Love - Beatles, The --[603] [131] Track - [329]) 10 - [683]) [404]).mp3
etc. (Shorter - some filenames by a lot!)
Any idea whether RegExp Find & Replace is capable of doing this? I tried writing some regex to search/replace on a few sites, and found an expression that seemed to work right...
Search: ((q:\\)(.*?)(.{3,}))(.*?)\4(.*)
Repalce: \2\3\4\6
(Q is the drive they're on, tests on full filenames worked.)
Has anyone ever written such a search? The big problem is the text being replaced is different for each file, different length, etc. (I can get rid of the extra whitespace at any time - left in for illustration.) The above makes no difference at all - no matches.
Thank you,
-- TLD
***For others searching for this:
Regex duplicate text remove
Repeating text field
Shorten filename extra text
Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]
hi,
i have a problem with preset "Swap <From Field> and <Into Field>..."
i want to exchange Date <>Original Date.
when trying i get "there is a problem replacing "original date field" for the file xxx
Result: Expression error!
latest MMW, windows 10, latest (paid) 5.2.0.241 version ofr RegExp Find Replace
any ideas?
i have a problem with preset "Swap <From Field> and <Into Field>..."
i want to exchange Date <>Original Date.
when trying i get "there is a problem replacing "original date field" for the file xxx
Result: Expression error!
latest MMW, windows 10, latest (paid) 5.2.0.241 version ofr RegExp Find Replace
any ideas?