Hi there,
I'm requesting help on powershell script to clean up a input file and write to an output file.
Contents of the input.txt file are..
abcd
cdef
["abcd"]
["ab
cd"]
["efgh"]
xyz
Expected OUTPUT.txt file
abcd
cdef
["abcd"]
["abcd"]
["efgh"]
xyz
Wanted to suggest the criteria to clean up the file is
If a line contains start square bracket but does not end with square bracket, then concatenate the next line to current line.
Looking forward Appreciate your help towards script.
Thanks.