extract_info function

Extract Information from Line