Forward only logs that has "WORD" in it

how can i only forward logs to loki that has “SOME WORD” in it?
i saw how to drop but i don’t know exactly what to drop and there is no negative regex in re2

thanks