I have an array of smilies, and I want to use preg to insert them all

Basically all the values need to become #(value)#

Can I use array_walk or another function to do this very quickly?