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

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

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

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

Post by MMFrLife » Sat Apr 25, 2015 12:48 pm

Yes, I've seen things similar to that. I was just wondering if you had a "general idea".
I've donated before and would be glad to donate again as I'm sure others would.
Could you come up with a ballpark figure of what you think it would take to get it done and I, and others, could
both donate and add a simple advert for it in our "signatures" until you reach your goal, maybe. :)

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

Post by ZvezdanD » Sat Apr 25, 2015 12:02 pm

MMFrLife wrote:without having to commit to a specific
date, could you give us a ballpark ETA like "within 6 months" or "within a year"?

I answered to such question on the previous page:
ZvezdanD wrote:
kluv wrote:Will this Addon get updated anytime soon?

The new version is in development, but I don't know when it will be finished since that depends on donations.

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

Post by MMFrLife » Sat Apr 25, 2015 11:35 am

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M
Postby ZvezdanD » Tue Jun 24, 2014 8:12 am

ZvezdanD wrote:
MMFrLife wrote:Is there some sort of preset search function? If not, would that be too difficult to implement?

I have implemented that in the new version which should be ready very soon, but it will be available only to those who donated to me. It has also added a possibility to group presets into sub-menus and some another enhances.


This new version, from what I can tell, hasn't been released yet (unless I'm just blind to it). I know your very busy, but, without having to commit to a specific
date, could you give us a ballpark ETA like "within 6 months" or "within a year"?
Thanks

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

Post by Hdhntr23 » Tue Apr 07, 2015 7:42 pm

Let's say I import a bunch of songs where the track number is in front of the song title.

Is there a preset that allows me to move the numbers from the beginning of the song to the track number field?

Thanks!

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

Post by rast » Tue Apr 07, 2015 11:25 am

Cool tool thanks.
QQ: how do I remove a quote from a field? It seems I can remove anything/everything but "

thanks

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

Post by kopo » Fri Apr 03, 2015 4:06 pm

will (the) plugin remove these spaces automatically, and if so, how do i go about doing it?


Yes it will.

Use preset 65: "Remove leading and trailing spaces from <Into Field>..."

There's a very comprehensive guide to usage in the first post of this thread.

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

Post by Flanker37 » Fri Apr 03, 2015 2:40 pm

Hi i have just found this thread, i have run a search, but the terms are too common for me to proper results

The problem i have, i have about 3000 tracks where the title of the songs have a single space before them. This is messing up my playlist alphabetical order.

will your plugin remove these spaces automatically, and if so, how do i go about doing it?

thanks

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

Post by redbeard » Mon Mar 30, 2015 4:32 pm

I really like this script, but am having difficulty with the "Append weighted average bitrate of album tothe last folder of path" function.
What happens, is it appends [223] even if all of the album's tracks are 320.

I looked closely and the comment says, "Example for VBScript expressions with SQLQuery (This function is somewhat problematic - SQL syntax must be correct because MM doesn't handle SQL errors)

I'm not sure what this means. I was hoping this would be an easy way to append [VBRxxx] to my album folders, with xxx being the album's average bitrate.
My question is, is this script using the bitrate in my tags? If not, what is it using? I don't know how to edit SQL. The code that is in there now is this:

"$1\$2 [" & Int(SQLQuery("SELECT Sum(Bitrate * SongLength) / Sum(SongLength) FROM Songs WHERE IDAlbum = " & oSongData.Album.ID & " GROUP BY IDAlbum") / 1000) & " kbps]\$3.$4"

Any help is greatly appreciated!
--redbeard

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

Post by Guest » Fri Mar 20, 2015 9:38 am

Code: Select all
& SQLQuery("SELECT Max(CAST(TrackNumber AS integer)) FROM Songs WHERE IDAlbum = " & oSongData.Album.ID & " GROUP BY IDAlbum")

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

Post by Zaphod703 » Thu Mar 19, 2015 11:47 pm

I had oooone lil more question lol... I understand if my other question doesn't have an answer... This one might not either. Just curious: Is there any way to grab onto the the Last Track #. So if every album has their own track numbering.. And say one album ends at 56. At the end I want: "(of 56)" Anyway for RegExp get the Last Track # and assign it? could be assign at the end... I can already add at the end "(of" with either RegEx or ExtractFields and Also I can add the ).

Sorry if im asking bit too much!

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

Post by Friedrich » Wed Mar 18, 2015 2:52 am

Baalz wrote:Hi!
Was looking for help with an expression to insert a "- " in a specific spot in a title
This would be within title field only and be inserted just before "01" in the following ex. "nameoftitle 01 of 13"
So I would end up with "nameoftitle - 01 of 13"
Thanks for any help
Bob

This expression in the "Find what"-Field might do the job:
(?=0[1-9])

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

Post by Zaphod703 » Sat Mar 14, 2015 9:34 pm

Hey! Damn I Love This Program! I used to use Mediamonkey for music and now use it for organzing Audiobooks. RegExp still doing an amazing job!! I have list of all the presets in a doc in ABC order. But damn I wish I understood all the coding to create my own preset.

I tried my best to find something and really sorry if it is already possible. Basically I want to Move Text Inbetween something. Example If I use { & } in Artist category for information. And say I want to asign it to a field... or (better if possible) move it before "(" also used in field... move "{<content>}" to come before "(<contents>)". Not sure if that last one is possible? lol this stuff confuses me hahaha. Right now I can move Artist to Custom 1.... Remove everything before { and everything after }. And than move it back. Bit of work. Wondering if there is any easier way.

Sum it up:
I have Many Fields like:
"Name of Series" "(Book #)" "Book Name" "{Descriptions}" "(Year)"

Half I want to... Half Im trying to understand RegExp better... Change it to:
"Name of Series" "{Descriptions}" "(Book #)" "Book Name" "(Year)"

AND/OR... Just How to just copy everything that starts with "{" & ends with "}".

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

Post by MMFrLife » Wed Mar 11, 2015 9:10 pm

I want to add the track number to the end of a field. Is there a preset for this I'm blind to,
or is there a way to modify this one:

"Add Track number to the begin of Title"
I can change it to the field I want, but I don't know if there is a way (or how) to get it to the end.

.....or is there another existing preset more suitable for modification for the same purpose?

This is needed for something I do with multi-disc albums/sets.

[note: this seems related to what the previous poster is asking (something like specified string: "-" with auto-increment
to end of title (as a poss. 2nd step) and then as a 2nd or 3rd step add specified string: "of 13", maybe?]

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

Post by Baalz » Sat Mar 07, 2015 11:04 am

Hi!
Was looking for help with an expression to insert a "- " in a specific spot in a title
This would be within title field only and be inserted just before "01" in the following ex. "nameoftitle 01 of 13"
So I would end up with "nameoftitle - 01 of 13"
Thanks for any help
Bob

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

Post by ZvezdanD » Sun Jan 25, 2015 2:12 pm

Preset: Remove <From Field> from the begin of <Into Field>
Description: If Album = The Wall, Artist = The Wall Pink Floyd -> Pink Floyd
Find what: ^.*
Into: whatever field (e.g. Artist)
Regular expression 1: checked
Replace with: IIf(<From Field> = Left("$&", Len(<From Field>)), LTrim(Mid("$&", Len(<From Field>) + 1)), "$&")
From: whatever field (e.g. Album)
VBScript: checked

Top