Is there a regex, that matches
hahafooblababla
and does not match
hahafooblabarbla
Because I am looking for ...foo... and don't want to have ...bar... anywhere after the ...foo...
haha and bla symbolize junk/noise.
UPDATE: At first I tried with
foo.*(?!bar)
--> was not successful