my $begriffe = "begriff1|begriff2|begriff 2"; print "OK" if $string =~ /\b$begriffe\b/ig;