Daniel Friedmann schrieb: > I tried > $LogbookDays = '(?:Mo|Di|Mi|Do|Fr|Sa|So)'; Try this: $LogbookDays = '(?:(?:Mo)|(?:Di)|(?:Mi)|(?:Do)|(?:Fr)|(?:Sa)|(?:So))'; (I haven't checked the syntax - those (?...) are supposed to be noncapturing parentheses.) HTH Jo