Synthetic resin-bound peptide libraries made of protein L-amino acids have been synthesized. During screening of the libraries, peptides that bind to avidin have been identified containing a novel motif with two histidines separated by one residue. A sub-library was synthesized and screened, and new critical residues appeared surrounding the two histidines. Additionally peptide libraries made of D-amino acids have been screened with avidin and streptavidin and novel motifs have been found.