in reply to RegEx advice needed

For the first line of input, the first RE matches Version ..., and stores rdtg7.0.4.7.

For the second line, the first RE matches Hardware version ... and stores 0;.

For the third line, the second RE matches SW_REV... and stores CG4D_05.

Update: zpy, I don't see how you get the third line of your output, FW: 4.1.4p. That can only be grabbed by the first RE, which has already used up it's one try at the input data matching Hardware version."

--
TTTATCGGTCGTTATATAGATGTTTGCA