Leszek Janiszewski
06/25/2019, 12:31 PM\d{3}\.\d{10},
?
Negative lookup (?!\d{3}\.\d{10},)
doesn’t seem to work here for some reason.
The example message looks like this 2019-06-25 13:45:22.286 13313-13351/com.secretproject.alpha I/Http Response: │ 247.2145208724,
Filtering out based on TAG is not a feasible solution, because I need this to log out other responses.Dico
06/25/2019, 1:38 PM.*
in front of the negative look ahead?Ryan Mentley
06/25/2019, 9:57 PM(?!\d{3}\.\d{10},)
matches all strings, because you're looking for a string that contains a blank string that is followed by a number in that format(?<!\d{3}\.\d{10},)$
Dico
06/25/2019, 10:03 PM^.*?(NL)$
where NL is the negative lookaheadRyan Mentley
06/25/2019, 10:05 PMDico
06/25/2019, 10:07 PMRyan Mentley
06/25/2019, 10:14 PMgrep -v
or somethingLeszek Janiszewski
06/26/2019, 8:32 AM