I need to wright regex using preg_match in PHP to do next:
I do have string like this:
test1:OK
test2:OK
test3:FAILD
test4:PROGRESS
test5:OK
so I need to find rows which are no OK..
test3:FAILD
test4:PROGRESS
so I think I have to check string between : and \r\n (\n) if != OK, how do I do this using preg_match?
Help much appreciated!