I tried to manage this myself but I coudn't...
I have text:
{Łatwe|Proste} szukanie mieszkania {Sprawdź|Wypróbuj juz dziś}, znalezienie {wcale|w ogóle}
I want to get single words from sentence or whole expressions in {} to the list. So in list it will look like this:
- {Łatwe|Proste}
- szukanie
- mieszkania
- {Sprawdź|Wypróbuj juz dziś}
- znalezienie ...
I use split() method but it produces for example:
- {Sprawdź|Wypróbuj
- juz
- dziś}
But it should be one word.
I don't want to break expressions in {}.
Any help?:)