I have generated, using vb.net, a text file containing content from a set of webpages.
As you will see from the attached file, most lines terminate with a <br> tag followed by a CrLf character, then a series of spaces followed by another <br>. Where this occurs I want to delete the first <br> and the CrLf character. The number of spaces between the CrLf and the following <br> may vary.
I have tried using:
Body = Replace(Body, "<br>" + vbCrLf, "")
but it doesn't seem to work. Also, if this coding worked, it does not check that the following spaces and <br> exist.