Or just do it with a simple program template:
Quote:
in_list()
in_list(val, separator, pattern, found_val, not_found_val) – treat val as a list of items separated by separator, comparing the pattern against each value in the list. If the pattern matches a value, return found_val, otherwise return not_found_val.
|
Code:
program:
in_list(
field('tags'),
',',
'^(Philosophy|Philosophie|Essay(s)?|History|Geschichte)$',
'Philosophy & Essays',
''
)