(?ms)ID\s+.?^AC\s+(\w+);.?^OX\s+NCBI_TaxID=(\d+).?(?#how to optionally capture group ^FT\s+VAR_SEQ.?/FTId=\w+. ).?^\s{5}(.?)//
(?ms)(FT\s+VAR_SEQ.*?/FTId=\w+.)
(1) can give AC, Tax_id and Sequence and these 3 fields are always present in an Entry, but VAR_SEQ field is optional. (2) gives me the VAR_SEQ lines, so how to combine these 2 regexes in one?