Strchr() for different characters

Hi,

can find the position of more than specific character with strchr() function?

e.g.
i want to search the %album% tag for either ( or [ or + and so on. So i get the first position if one theses characters appears.

I need that for cutting the tag from that position etc.

many thanks!

A regular expression allows to define alternatives as search criterion.
See the help on regular expressions:
https://help.mp3tag.de/options_format.html#regexp
E.g.
$regexp('Album (Style)','(.*)(\(|\[).*',$1) -> Album
$regexp('Album [Style]','(.*)(\(|\[).*',$1) -> Album

Or see here: