I do get a 1D array but its eaither emepty array or its array of every sinngle line of the code and not that particular one that I want. the problem with using match block is that it eaither give you exact match ";" that you are looking for, which would output array of ";" or if you lookt at "before match" it will just output the whole code in lines. if you look at "after match" then it give you nothing.
I guess at this point it dose not matter if its 1D or 2D as long as I get a code that work. non of those code work for my program. I did my best to provide you an exmaple with the format that my code has, i basically changed the names but let me see if I can provide you my actual code