Hello everyone,
  I would like to search and highlight a section of text in a mail log
file.  I'm looking for sections that begin with

...timesheet...
...(a few lines of text)...
...Winsock...

i.e. search through the text file until you hit the text "timesheet",
then highlight until you hit the word Winsock.
I'm thinking something like:

/timesheet.*Winsock

except it needs to be able to span multiple lines between the two.
There is text before and after both the "timesheet" and the "Winsock"
as well as a varying number of lines between them.
Is there a way to do this?

thank you for any help,
HappyDad

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to