Oh, I just found out that I can write it like this:
validate:
notContains: '-'
Strange that it works with normal characters even with the line break but only without a line break with the -. But okay, now I got it work and can avoid figuring out a fitting regex. Thanks anyways for the regex idea, pixelijn!