How to extract the lines that contain g__something within it but does not followed by s__something in the following text?

by DEEP   Last Updated August 01, 2020 10:02 AM - source

I want to extract out those lines that contain g__something not followed by s__something in the lines. How can I do that?

Here's my text



Related Questions


Deleting duplicate lines in text file.....?

Updated September 28, 2015 09:01 AM


Extract line beginning with a specific pattern in sed

Updated February 27, 2017 06:02 AM