Specify line beginning and end in patterns using grep

Bonnie Eisenman
InstructorBonnie Eisenman

Share this video with your friends

Send Tweet

Learn to use the special anchor characters ^ and $ to indicate the beginning and end of lines when writing regular expressions for grep. These line anchors are part of basic regular expressions in grep, so you don't need to escape them.