The data I am working with data that has this format:
1880 20 David 7570 Mabel 13096
I need to pull the year (1880), the rank (20), and the name only (David or Mabel). The end result is:
1880 20 David
or
1880 20 Mabel
I have been successful in just pulling the year, rank and name seperately, but I have issues putting together a whole regular expression. I know the basics of regex, but I cannot currently access my notes.
I am attempting to use egrep.