Arrange data after a keyword infront of another keyword
I have a file which contains data as below, there is 2 keywords, current_area {data1/data2/code..}, current_area {data1} and some data between those:
I have a file which contains data as below, there is 2 keywords, current_area {data1/data2/code..}, current_area {data1} and some data between those: