At the beginning of each line:
^
At the end of each line
$