searches the textual output of an html document and then splits it about a delimiter, preserving html formatting