Use * as a wildcard for any characters at the end of the name

Komorze p. Nowym Miastem n. Wartą

Komorze p. Nowym Miastem n. Wartą is a place, that 1945 belonged to Poland and was situated in the administrative region Jarocin.
Komorze p. Nowym Miastem n. Wartą was formerly part of the German Empire. In the German Empire, the place was called Weißenberg. The place is now called Komorze and belongs to Poland.