<p>The present invention relates to bis-imidazolyl compounds of the formula: <IMAGE> and polymers having the above-identified bis-imidazolyl compounds as a polymerizable unit. The present invention further relates to a method for scavenging trace quantities of metal ions from various effluents sources using the polymers of the instant invention. The instant invention also is directed to the use of the above-identified polymers as corrosion inhibiting agents and as a film for use in gel electrophoresis.</p>