I have a pipelined output from free -o -m | awk '{print $4}' I want take step by step two numbers the first and the second line. So i need two regexes.
I tried with ^[0-9]{1,3}$ but this match all occurences.
i.e.
111
222
333
I want only 111 by first and 222 by second regex.
