All-optical regeneration based on self-phase modulation in microstructured fiber is studied. The effects of pulse peak power into the fiber,pulse width and filter parameters on the regenerator performance are investigated. The influences of normal dispersion and anomalous dispersion of the microstructured fiber on optical regeneration are compared. The numerical results show that good optical regeneration performance can he obtained by using a microstructured fiber with normal dispersion or anomalous dispersion,but the normal dispersion decreases the oscillatory structure of the broadening spectra and obtains a better regenrator transfer function. In order to achieve optical regeneration,the input peak power into the microstructured fiber,pulse width and filter parameters need to meet certain requirements. By optimizing those parameters, a better regeneration result can be obtained.