IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Using Regular expressions in tag converting, Is there a regular expression for 'number'
vorticity
post Sep 16 2017, 20:46
Post #1


Member


Group: Full Members
Posts: 18
Joined: 20-June 09
Member No.: 10474
Mp3tag Version: 2.43



Dear all,
I think my problem is solvable - a little tricky though.

My POP-Albums have Filenames like
Beatles_1965_Rubber_Soul_09_Girl.mp3

I converted them to tag title (Alt-2) eliminating the '_' so tag 'title' is now
>> Beatles 1965 Rubber Soul 09 Girl

This is basically OK, specially for classical music, but ...

Playing them in car-devices displays everything ... except the 'real' title - too long...

My intention:
Converting the tag 'title' so as to delete everything before the first number (digit) resulting in tag 'title' as follows

>> 1965 Rubber Soul 09 Girl

Doing this twice would result in
>> 09 Girl

This would be great! I do have the correct tags ''artist' (Beatles) and 'album' (Rubber Soul)

So the question: What is the convert-command to delete everything before the first 'number'
Is there a usable regular expression for number ?

Sorry if I could have found that from FAQs - I checked them, but negative. But I suppose for you experts - no problem.

Any help highly appreciated, thanks, Bernd Richter

PS. mp3tag is a great program! Were it not, my mp3s would look much different, much simpler!










Go to the top of the page
 
+Quote Post
ohrenkino
post Sep 16 2017, 22:36
Post #2


Member


Group: Full Members
Posts: 9128
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.84d



If you have filled TITLE with e.g. "Beatles 1965 Rubber Soul 09 Girl"
use an action of the type "Format value" for TITLE
Format string: $regexp(%title%,.* (\d+.*),$1)


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 01:05