Page 100 of 108

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

Posted: Mon Sep 02, 2019 10:38 am
by ZvezdanD
tm806891 wrote: Sat Aug 03, 2019 5:57 amI have upgraded my computer from Windows 7 to Windows 10. Now the RegExp Find & Replace app takes almost a minute (or more) just to load. Does anyone have advice on what to do about this?
This has been already mentioned in this thread and in the Windows Defender Issue section of the add-on's web page.

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

Posted: Wed Oct 09, 2019 11:55 am
by djmt99
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!

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

Posted: Wed Oct 09, 2019 3:24 pm
by ZvezdanD
djmt99 wrote: Wed Oct 09, 2019 11:55 amWould this script be able to sort strings within the a field?
I would not say that it is impossible, but you will need to write a very complex VBScript.
djmt99 wrote: Wed Oct 09, 2019 11:55 amAlso, would this script be able to add a new line for each tag within the comment field?
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.

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

Posted: Sat Oct 12, 2019 2:32 am
by lomah
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

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

Posted: Sat Oct 12, 2019 10:34 am
by ZvezdanD
lomah wrote: Sat Oct 12, 2019 2:32 amCan I just have some assurance that it's absolutely safe?
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.

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

Posted: Mon Oct 14, 2019 6:11 am
by lomah
ZvezdanD wrote: Sat Oct 12, 2019 10:34 am
lomah wrote: Sat Oct 12, 2019 2:32 amCan I just have some assurance that it's absolutely safe?
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.
Hi,
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+]

Posted: Mon Oct 14, 2019 6:41 am
by ZvezdanD
lomah wrote: Mon Oct 14, 2019 6:11 amI was just wondering if anyone else was using your add-on along with F-Secure and had noticed the same file blocking.
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.

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

Posted: Sat Nov 02, 2019 2:33 pm
by Polystyrene
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+]

Posted: Sat Nov 02, 2019 5:41 pm
by Polystyrene
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.
I have just installed the new version and I realize that it's a already feature of the registered version... great job !

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

Posted: Sun Nov 17, 2019 1:12 pm
by jz1276
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

Posted: Fri Dec 20, 2019 4:56 am
by jz1276
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+]

Posted: Mon May 18, 2020 7:20 pm
by jetkins
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!

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

Posted: Tue May 19, 2020 1:46 pm
by ZvezdanD
jetkins wrote: Mon May 18, 2020 7:20 pmwhen I try to run the "Reset Last Played field" on one of these files, I get an "Expression Error!" failure.
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.

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

Posted: Tue Jul 07, 2020 7:30 pm
by TLD
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

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

Posted: Fri Jul 24, 2020 10:13 am
by SugarRush
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?