I want to remove all data no matter what it is in between 2 words. The two words are user
and Gecko)
, exactly as it appears.
For example:
abcd: efgh user jfslkdj ajskdlfj askldjf Gecko) print
ijkl: mnop user fjskdf sdfjkdf skdjf sdkfj Gecko) second
Should apprear as:
abcd: efgh print
ijkl: mnop second
Please let me know if this is possible.
So far, this is what I tried and I know I am far off:
sed 's/user*Gecko)//g'