Come dice la documentazione ufficiale:
^ Start of line
$ End of line