Quote:
Originally Posted by capink
Code:
program:
contains(field('format'), '(mp3|m4a|m4b)', 'Audiobook available', '')
Edit: The pattern highlighted in blue, is a regular expression that can match multiple formats.
|
I use similar templates to attach audio and/or video icons to 'books' that have audio and/or video format files.
BR