Here is the data:
Valid from: Fri Nov 24 12:11:28 EST 2017 until: Sun Nov 24 12:11:28 EST 2019
Valid from: Fri Feb 24 13:21:19 EST 2017 until: Thu Feb 24 13:31:19 EST 2022
Valid from: Tue Dec 20 12:01:19 EST 2016 until: Fri Dec 20 12:11:17 EST 2041
I want to extract only data which is written after 'until:' word.
For example I should get only Sun Nov 24 12:11:28 EST 2019
.
grep
, or are you just suggesting thatgrep
might be a solution to your real question, which is "[how do I] return specific data from [a] string?" – Christopher Schultz Aug 20 '18 at 13:55I should get only Sun Nov 24 12:11:28 EST 2019.
It's not clear if it's only the 1st line example or the result of the whole. – рüффп May 16 '19 at 22:12