First I suggest that you read our rules which state:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.
I will close your duplicate thread.
Then read our FAQ section. The tutorial article has links to 3 awk tutorials, 2 sed tutorials, and a link to a page with many other sed tutorials.