BEGIN { IGNORECASE = 1 FS = "\"" } { if ($2 !~ / [^ ]+\.(gif|css|jpe?g|js|png|ico) /) { print $0 } }