Is there a way to import content from only certain 'styles' of data?

I have a document that utilizes a table of contents and then has 'Req#' under each section of the document. I would like to pull out the 'Req#' and the following content and organize them likewise into a spreadsheet.

I have looked over the code presented, but it does not increment through out the selected document.

Thanks