RE:Adds a space between Capital and lowercase letter or digit behind it.
Field:_Tag
re:([^A-Z\W\_])([A-Z])(?=[^A-Z])
($1) ($2)
RE:Adds a space between Digit and lower case letter behind it
Field:_Tag
re:([^\W\d\_])(\d)
($1) ($2)
Will...
Example.
From:
"ThisIsThe2ndSongFromD.D.'sFirstAlbum30YearsAgo."
To:
"This Is The 2nd Song From D.D.'s First Album 30 Years Ago."
This is the two above combined:
RE:Adds a space between, Capital and lowercase letter or digit behind it, Digit and lower case letter behind it.
Field:_Tag
re:([^A-Z\W\_])([A-Z])(?=[^A-Z])|([^\W\d\_])(\d)
$1$3 $2$4
Does the same except in the case of...
CapitalWord9CapitalWord2ndSong30Years
Example.
First pass will: Capital Word9 Capital Word 2nd Song 30 Years
Second pass will: Capital Word 9 Capital Word 2nd Song 30 Years
Third pass will: Reveal A Latent O.C. Disorder
Because the single digit '9' in the example can only be captured once per pass per replacement.
I would use the first set for completeness and through the "Action Groups".
I would use the Second for brevity and through "Actions (Quick)"
OK, i know im being dumb, just this reg ex stuff is over my head..u might just as well speak japanese to me.
All the examples i find talk of removing ## - [track title] to [track title]
i just want ## [track title] to [track title]...no dash.
appreciate a 'simple' answer for simpleton.
$char(13) is the "CarriageReturn" control character.
It is appended here on the fly to the COMMENT string as a helper, just to make sure, that there is at least one "CarriageReturn" character at the end of the COMMENT string, in order to let the RegExp work correctly, even for the case, when the original COMMENT string has no trailing CarriageReturn/LineFeed sequence.
I found that if you don't put in the \0 at the end it will repeat TEXT twice. For example:
Title: Texty text
Becomes: TEXT Texty textTEXT
I'm using v2.48. This might of been fixed in the later versions, but it's the version I've been using and some things I refuse to update to a newer version since I've never had any other issues with it except for this one bit of annoyance.
It's not a bug.
It happens because global matching is activated by default.
That means the engine tries to match the regex pattern as many times as possible.
With (.) the whole text is matched at first. Then the engine stands at the end of the text. And it tries to match the pattern again.
And it succeeds because . also matches "nothing".
But I'd prefer a simple "Format value" action is for this task anyway.
I tried out and study it but I couldn't accomplish what I was looking for into one line with my poor knowledge on regex.
So here is an update of mine.
If you can make it better ( I couldn't ) i will be vary happy.
I hope you have a success because the smaller is better.
This is an updated version for the ( album tag ) volume and disc renaming.
I hope you find it much better!!!
ALBUM \s*\(*\[*\s*(v|ol|ume)+(\s*\.*\s*(?=0))?\s*\.*\s*0*([0-9]+)\s*\]*\)*((\s)+|$)
replace with: spacev\3\5
ALBUM \s*\(*\[*\s*(dis|c|d)+(\s*\.*\s*(?=0))?\s*\.*\s*0*([0-9]+)\s*\]*\)*((\s)+|$)
replace with: spacecd\3\5
ALBUM (\s*)(v)([0-9](?![0-9]))
replace with: \1v0\3
ALBUM (\sv\d+)(\s*\-+\s*)*(cd\d+)
replace with: \1 \3