How to extract data and write in to seperate cells

test.txt (111 Bytes)
(?<=Primary:).*(?=~SUB-TOTAL)
I used this regex in matches activity. we used single line flag.