SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

dash between number & album artist questions

Paul

Q1:

A lot of albums have a date in the name such as such as

 xxxxx yyyy (1945-1955)

In on of my scripts that I use to get art work it pulls out all special characters when searching for an album and I get

xxxxx yyyy 19451955

which causes problems in the search.

I would like to replace the “-” with " - " but only around numbers. Can this be done with reqular expressions or what would you suggest?

Q2:

I have autocorrect set to replace & with “and” but it does not seem to work for the “album artist” column. Is this correct?

Thanks

Robert

[quote=rpm4fsu]Paul

Q1:

A lot of albums have a date in the name such as such as

 xxxxx yyyy (1945-1955)

In on of my scripts that I use to get art work it pulls out all special characters when searching for an album and I get

xxxxx yyyy 19451955

which causes problems in the search.

I would like to replace the “-” with " - " but only around numbers. Can this be done with reqular expressions or what would you suggest?
[/quote]
I assume your script supports regular expressions - so why not change your script - something like search for ([0-9]*) and then use the brackets mark it as a group that you can replace wuith nothing - leavintg you with xxxxx yyyy.

Jaikoz doesnt currently support reguilar expressions in its word replacers/find and replace ecetrea, but it is on the todo list.

Autocorrect is only applied to the most common columns (see Preferences/Manipulators/Autocorrecter) . You could use the Find and replace instead though to replace all occurences in a particular column.