How can I get the newline context with the regex in csv

It is not clear what you mean by "get the newline context". Please provide detailed example.

Also, to really help you, you will need to post at least a few rows of the CSV file. You can either upload the entire file as zip file, or a few rows using a Code Block.