c# - best way to find end of body tag in html -


I am writing a program to add some code to the HTML file

I have a

It has happened to me that there can be a more lucrative way of doing this

P> No one has any suggestions.

It looks like currently

   

What should it be when imged


   

I'm not sure I understand you, but do you mean ? NewHtmlDocument = htmlDocument.Replace ("& lt; / body & gt;", newContent + "& lt; / body & gt;"), an HTML document in "HTMLDocument" and new content in the "new content" string ; And maybe it's obvious that I do not know C # ... you probably want to make the "body" tag insensitive through reggaxps.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -