Recently I had to go through lots of files and find a string that does not start with semicolon ‘;’ and ends with one of the words status, error or warning. Of course, regular expressions will help us here. Without further due, I would like to introduce RegEx:

  ^(.?$|[^;].+)(status|error|warning)

Lots of time saved!