Thanks again.
I can't get that to work.
Here's a screenshot of the quick action I tried running with the lyrics and unsyncedlyrics columns behind it so you can see what I'm trying to remove.
The first few lines of the lyrics look like this:
作词 : Billy Gibbons/Frank Beard/Dusty Hill
作曲 : Billy Gibbons/Frank Beard/Dusty Hill
[Verse 1]
Well, I was rolling down the road
In some cold blue steel
and I'd like to remove the lines
作词 : Billy Gibbons/Frank Beard/Dusty Hill
作曲 : Billy Gibbons/Frank Beard/Dusty Hill
Actually in this particular case, I'd be happy to just replace 作词 :
with Lyrics by:
but let's pretend it's a whole line of lyrics like:
[01:02:34]作曲 作词 作曲 作词 作曲 作词 作曲 作词
As you can see in the screenshot, I tried running:
Guess values
Source format:
$regexp(%lyrics%,'[\x{2E80}-\x{9FFF}\x{F900}-\x{FAFF}\x{FE10}-\x{FE1F}\x{FE30}-\x{FE6F}\x{FF00}-\x{FFEF}]',)
Guessing pattern:
%lyrics%===%chinese%
But nothing happens.
(I'm just using %chinese% instead of %comment% because I use the comment field.)
I thought your previous suggestion was working fine:
Guess values
Source format:
$regexp(%lyrics%,'[^\x00-\x7F]+',)===$regexp(%lyrics%,'[\x00-\x7F]+',)
Guessing pattern:
%lyrics%===%chinese%
I've run it on more than a thousand files and I can't turn back now, lol.
Is the newer version homing in on Chinese, Japanese and Korean characters more specifically (rather than just all non-ascii characters)?
I think so. Can you tell me how to run it properly please. My Guess values attempt just isn't working.
By the way, the only issue I had with the $regexp(%lyrics%,'[^\x00-\x7F]+',)===$regexp(%lyrics%,'[\x00-\x7F]+',)
version was that it seemed to be removing the first round bracket on any line of lyrics that had round brackets. Maybe that was happening only when I ran it on lyrics that didn't have any non-ascii characters in it, not sure. But I've seen a few lyrics that now have e.g.
Tell her about it Tell her about it)
instead of
Tell her about it (Tell her about it)
Is that possibly due to the Guess values Source format?
The reason I'm running your original Guess values string on all tracks is just because I can't work out how to filter tracks with Chinese characters. And I'd come to the conclusion that it would leave tracks with no non-ascii characters in the lyrics untouched. Not sure again.
I'm writing too much and should probably edit this down but hopefully you see what I'm trying to do and where I'm failing.
Many thanks.