1 year ago

#352002

test-img

gmly

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.

regex

text

text-editor

textmate

0 Answers

Your Answer

Accepted video resources