C-c R to regex from the beginning of the file