Remove Track # fromTitle or Trim Space.


#1

looked in FAQ. Seems simple, but can't replace tag info.

I'm trying to remove the track# from title or Trim space from Beginnig.

the action doesn't seem to work

replace
Title
^\d*\s*-\s

Example.

  1. Take Five

change to:

Take Five

Or just trim Title by 5 spaces...

Thanks


Deleting a specific amount of characters from the start of the title
#2

No wonder as the pattern you find in the title is not matched by the expression.
The expression expects a number and a space immediately behind it. You've got a dot there.
^\d*.\s*-\s
(and it is not "Replace" but "Replace with regular expression").

Did you have a look at the help for string functions?
http://help.mp3tag.de/main_scripting.html#string
e.g. $cutleft()


#3

Converter-Menu: Tag-Tag
Field: TITLE
Format String: $cutleft(%title%,5)

or an action:
Type: Format Value
Field: TITLE
Format String: $cutleft(%title%,5)


#4

Thanks

Someone in the FAQ expalined why it wouldn't work... gave a soltion:

^\d{0,7}[- ._ ]*

Works for me.


#5

Remove leading numbers and other characters

$regexp(%TITLE%,'^\d{0,3}[\s\.\_\-]?\s*',)

From:
01-99 Luftballons
123.8000 miles from home

To:
99 Luftballons
8000 miles from home

... based on ... aladoro ... Jul 5 2007, 08:12 ...
Remove 'track' number from title?

DD.20170414.1127.CEST