freekey, it looks like that you spend much time to try out things, which will not work per se.
Read the Mp3tag manual before you try to solve a problem, that is new for you.
Read the FAQ areas in this forum.
Read user questions and answers to learn from other people's examples.
While reading the Mp3tag manual, let you be guided by the offered syntax descriptions for using this or that function.
If you need further informations about general usage of computer or programming knowledge, which has nothing to do with Mp3tag in depth, then browse the internet to find an answer.
If you are working with Mp3tag scripting language, then take into account, that special characters from the character set are reserved for special tasks, e. g. square brackets, single apostroph, double apostroph, percent sign (documented in the Mp3tag manual).
Further more there are special restrictions when using the Regular Expression functionality.
A regular expression can be seen as a 'scripting language' for it's own.
To avoid collisions with the Mp3tag scripting language, a regular expression sometimes need 'escaping' of special characters.
Your examples from above demontrate that you did not learn how to drive your car and how to understand the meaning of the signs in the street, but anyway you are driving the car.
Now we take a look at your problem,
You want to remove some characters from a text line:
[00:32.60]Through with being your fool
You ask: "How can I remove the lyrics timestamp".
Some people ask: "How can I remove 10 characters from the left side of the string".
Others may ask: "How can I remove the leading part, which is enclosed in square brackets."
Mp3tag supports different tools to solve such approaches.
The following two examples are restricted to a single line only.
The textline is stored in a tag field "TEXT".
-
Using simple scripting functions $len(), $sub(), $mid().
If the timestamp has always the length of 10 characters, you can use an expression:
$mid(%TEXT%,11,$sub($len(%TEXT%),10))
This skips the first 10 characters and returns the remaining characters starting at position 11.
-
Using Regular Expression function $regexp()
$regexp(%TEXT%,'^[.+?](.+?)$',$1)
This splits the incoming string into parts, detects the part which is indicated by the round brackets, then returns the value by the $1 referer.
If your problem would be such simple, then you have now all tools at hand to solve it.
But you want to do text processing with more than one line of text.
You want to manipulate multiple lines of text at once, which are stored in one tag field, previously read in from a text file.
This might be more complicated, because Mp3tag does not support repeated operations in one go on a tag field, will say, we cannot create a loop when processing one tag field content (there might be a possibility when exporting tag field content using the Mp3tag Export Scripting Language").
So only the usage of Regular Expression comes into mind, provided that the Regular Expression implementation within Mp3tag supports multi-line processing or at least placeholders for "CarriageReturn" and "LineFeed" characters.
Because the Mp3tag RegEx implementation allows the usage of \r \n placeholders, we can write such RegEx expression (there might exist other expressions, which will give the same result):
$regexp(%TEXT%,'(\n|^)[.+?](.+?)(\r|$)',$1$2$3)
This removes all characters within the leading square brackets and the square brackets too at the beginning of each line.
You can apply it in Mp3tag e. g. using an action "Format value".
Action: Format value
Tag field: TEXT
Formatstring: $regexp(%TEXT%,'(\n|^)[.+?](.+?)(\r|$)',$1$2$3)
Final note as always:
Adapt the elaborated proposal to your needs.
Try out your scripting work with a test file.
If all works satisfying, then run your scripting work against your production files.
DD.20100416.1350.CEST