parse_references_section function

Parse references section from text