'Select the line above a search term in text document?
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|