A ratiometric probe composed of an anionic conjugated polyelectrolyte and a cationic phosphorescent iridium(III) complex for time-resolved detection of Hg(II) in aqueous media.