We demonstrate selective excitation of dyes with overlapping absorption spectra in solution with pulses transmitted through a hollow-core ber. Thereto we show ects occurring in the ber can be compensated and what the limiting pulse energies are. Furthermore, an overview over various phase parametrizations is given and we examine which are best used when optimizing a two-photon fluorescence contrast of two dyes in a sample. This could be relevant for future endoscopic applications as well as state of the art two- photon microscopy.