I am using the following regular expression:
(?=([0-9]+\s+ok\s+[0-9]+\s+nok)) (?=(ltelidt|eiflmrj5))
My expression should find the following pattern:
- (Condition1): Number followed by
ok
, and then number followed bynok
. eg:13 ok 1 nok
- (Condition2): It should find either
ltelidt
oreiflmrj5
- The final expression should be something like this:
condition1 and condition2
.
However, my regular expression failed to find any pattern in the following sentence:
605sd25 schklog_1FS 13 ok 1 nok 106m 24_R23F eiflmrj5 d1us41 fd1d tm1500 o1t2enb1010 2m 2016-02-18 23:30:34 2016-02-19 07:14:01