in reply to Re: Multiple Search and Replaces on one filein thread Multiple Search and Replaces on one file
m/(?:.+)(?=WARNING)WARNING\s(.+)
Out of curiosity, why the double WARNING?