We present a theoretical and experimental study of photonic demultiplexers based on detuned stubs. The demultiplexers consist of Y-shaped structures with one input line and two output lines. Two different types of structures are proposed to achieve a selective transfer of a single mode in one output line without disturbing the second one. (i) In the first platform each output contains two different stubs attached at two different sites (U-shaped resonators). We derive in closed form the geometrical parameters of the stubs to achieve a selected frequency in each line while keeping the other line unaffected. The frequency selection can be made on the basis of two different mechanisms, namely a Fano or an electromagnetic induced transparency (EIT) resonance. Consequently, different demultiplexing schemes can be designed by a combination of the two mechanisms, such as Fano-Fano, Fano-EIT or EIT-EIT. In particular, the width of the Fano or EIT resonances can become zero for an appropriate choice of the stubs’ lengths, giving rise to trapped modes also called bound in continuum states (BICs) with infinite quality factors. We also show that the crosstalk between the two outputs can reach minimum values around −45 dB. (ii) In the second platform, each output line contains a photonic comb with a defect stub. The latter is appropriately designed to filter one or a few frequencies in the bandgap of the photonic comb. The analytical calculations are performed with the help of the Green’s function method which enables us to derive the transmission and reflection coefficients as well as the density of states (DOS). These results are confirmed by experimental measurements using coaxial cables in the radio frequency domain.