In my native language, the grammar is quite complicated and causes word endings to change.
I want to find a group of words in different grammatical forms using wildcards:
powierzchnia rozliczeniowa
powierzchni rozliczeniowej
powierzchnią rozliczeniową
I tried
<settlement*> <surface*>
however, it also finds cases when several words appear between the word “powierzchnią ” and only then “rozliczeniową”. And I am looking for this group of words when there is a space or two spaces or a non-breaking space between them