hi, sorry for my bad English,
currently, I extracting dialogue from an old game(350MB)
after some time I succeed decode: how string data is saved,
for example
00=A
01=B
…
19=Z
20=a
…
because it is hard to distinguish between dialogue data and raw data, I put the mark like this:
00=[A]
01=[B]
…
the result is like this:
[T][h][i][s][D][a][t][a]
then i remove the “][” and add a new line after “]” and before “[”,
so it became like this:
[This Data] //<=data
БбВвГгДдЕеЁёЖжЗз] //<=junk because do not start with [
ИиЙйКкЛлМмНнОоПп //<=junk because do not start with [, and end with ]
[РрСсТтУуФфХхЦцЧч //<=junk because do not end with ]
[This data too] //<=data
as you can see, I have 3 kinds of junk(lines 2,3 and 4),
at this point I like to know, is there any regex to remove that junk lines?,
please help!!
How about to share the raw input, the expected output and what you have tried so far? There might be a better way of getting the results you want including avoiding to get the junk just you showed.