This should be real easy. Given below is the HTML.
#Attachment#
$('#attachmentContainer').contents().filter(function(){return this.nodeType==3;}).text()