Is it possible to make a regex match only the first line of a text? So if I have the text:
This is the first line. This is the second line. ...
It would matc
In case you need the very first line no matter what, here you go:
\A.*
It will select the first line, no matter what.