hi there,
i am trying to extract some data using regex
what i am trying to get is everything from test 1 or test 2 up to FAIL from the string:
test1 query test FAIL hello test2 query test 2 FAIL xyz abc test1 query test PASS
test3 query test FAIL test1 query 4 test FAIL
so the result should be
query test, query test 2, query 4 test
any help apprecaited
thanks