An efficient approach for preparing nanofibers decorated with functional groups capable of specifically interacting with proteins is described. The approach first requires the preparation of a polymer functionalized with the appropriate functional group. The functional polymer is fabricated into nanofibers by electrospinning. The effectiveness of the binding of the nanofibers with a protein is studied by confocal microscopy.