Hi Dan, > Do I need the backslashes to escape the spaces? > > no, although \s would be fine. >
Okay, so either \s or nothing at all works just the same? > this can be much more effectively written as: > /.spam\ssample./i > That will match the words "spam sample" in the subject as long as there > is at least 1 character before and one after. But you had previously written that /Spam Sample/ will also match that text anywhere on the line. Is that not the case? Thanks again, Alex