Find & remove certain text

  • I have a very long email here that resulted from a series of Replies between me and a colleague. I now need to keep it for future reference. However, I wanted to remove all the email header blocks. Each one starts with "----" and is 5 lines long. Is there some way to do this?


    Below is the code I have so far, but I don't know how to assign a string from the document, so the lines starting with "curLine = " won't let it compile.


    How is assignment done?


    Thanks.


  • Re: Find & remove certain text


    Hi,


    this should solve your problem with the code:



    Gollem

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!