hi. I am wondering, how to select the first line on file ?
This will select the last line ^(.*)$\z
But the first line?
Regex - Select the first line on file
- DigitalVolcano
- Site Admin
- Posts: 1863
- Joined: Thu Jun 09, 2011 10:04 am
Re: Regex - Select the first line on file
Does this do it:
Options: Multi-line anchors:Off, Dot matches newline:Off
Code: Select all
^(.*)