Select the line above a search term in text document?

132 Views Asked by At

I'm currently using this in TextMate to find a term and select the entire line in a text document:

^.*language.*?$

I would like this to also select the line above if possible.

I've tried researching this myself but haven't had much luck.

I've figured out how to include the line below using \n but I don't know how to do the line above.

0

There are 0 best solutions below