I want to find(to remove this with perl, but this is not the question) all characters, digits, whitespaces before a special regex.
Example:
this is my test
foo ... == < foo
something else
myregex
all other
So I want to find
this is my test
foo ... == < foo
something else
its ok when
myregex
is also "highlighted".
I found some other post regex to remove all text before a character, but this does not realy match my problem...