^ Match the beginning of the line $ Match the end of the line (or before newline at the end)