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
> GUI Only - Replace - Replace as regular expression, Can't get anything to replace using these.
1HotJob
post Apr 17 2017, 18:04
Post #1


Member


Group: Members
Posts: 4
Joined: 24-February 17
Member No.: 23120
Mp3tag Version: 2.8



I have tried several different ways and nothing is working for me. I have tried it in both of these, "Replace" and "Replace as regular function"

I tried to replace (no quotation marks) "-" to "to" in 1975-1980 I wanted 1975 to 1980. The program was seeing the dash and wanted to split the album.

I have also tried to remove extra spaces. I have tried " - " (two spaces) replace with " - " (one space)

I love the program and read a lot about the expressions people are using, but they seem pretty confusing. Not sure if they are command line entries. I am comfortable with the GUI, and am getting better.



Thank you for your patience with me.

This post has been edited by 1HotJob: Apr 17 2017, 20:38
Go to the top of the page
 
+Quote Post
ohrenkino
post Apr 17 2017, 21:01
Post #2


Member


Group: Full Members
Posts: 8849
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.83h



ZITAT(1HotJob @ Apr 17 2017, 19:04) *
I have tried several different ways and nothing is working for me.....

Could you tell us which action you use for which field?
And which search string and which replace string?

If you want to replace one text constant with another one then use simple "Replace".
Search string: -
Replace string: _to_
(where the _ represents the blank in real life but such blanks are not shown properly in forums posts)

If you want to replace double blanks with single blanks, use
Search string: __
Replace string: _
(same symbolic representation)

This post has been edited by ohrenkino: Apr 17 2017, 21:02


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
1HotJob
post Apr 20 2017, 22:19
Post #3


Member


Group: Members
Posts: 4
Joined: 24-February 17
Member No.: 23120
Mp3tag Version: 2.8



QUOTE (ohrenkino @ Apr 17 2017, 16:01) *
Could you tell us which action you use for which field?
And which search string and which replace string?


I tried Replace and Replace With Regular expression. I haven't been very successful with either of these even using normal text. The string is - and the replace is to.
Go to the top of the page
 
+Quote Post
ohrenkino
post Apr 21 2017, 15:21
Post #4


Member


Group: Full Members
Posts: 8849
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.83h



ZITAT(1HotJob @ Apr 20 2017, 23:19) *
I tried Replace and Replace With Regular expression. I haven't been very successful with either of these even using normal text. The string is - and the replace is to.

Yes, I know.
You said so in the first post.
What you have not told us yet is: which field?

And perhaps: how did you do it?
Did you select the files before you applied the action?
You can test your expression with the function Convert>Tag-Tag
Select the field in which you want to replace the strings.
Then enter this format string:
$replace(%fieldname%,-,to)

Instead of %fieldname% enter the correct fieldname variable for the source field.
The preview should show you the result.


--------------------
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: 18th August 2017 - 00:24