How to identify a line, then copy every line after it until the next </div> tag

Internal error.

Oops! Looks like something went wrong!