On a Mac, you can have multiple cursors if you hold option while clicking, so you could click at the line beginnings.
To select multiple text instances, you’d hold option while selecting.
I know this works in Windows, too, but I don’t know which modifier key it is there.