Normally, you would have to destroy the trigger and then install a new one. Unlike the larger guns there is no hole in the top of the trigger to drive the pin down and out. You could try to guess wheres the hole would be and drill one of your own there or try to pull the pin out in some way.
Why do you want to replace the trigger spring?