awk -F 'some_delimiter' '{print $3}' file.txt #Gets third match pattern between specific delimiter #Ex echo 'Hi_New_World!' | awk -F '_' '{ print $3}' World!