Hmm.. does seem like homework as Grandfather suggested, so i won't post a regex, but instead these points for OP to consider (perldoc perlre) with regards to the above regex:
That will match the word "hit", and won't match "hit it." -- (hint: word boundary)
If there's multiple "it" words in the line, what do you want to print? (hint: greediness)