Array := 
FileReadLine, Line, Test.ini, %A_Index%
Matched := RegExMatch(Line, "i)^\[.+\]")
if Matched = 1
; And next, the goal is to convert this array into "Red|Green" string (or "RedGreen" without vertical bar).
; But I don't understand how to achieve it.
; I also tried to use pseudo-array but it doesn't look simpler for me.