in reply to Read In A File, Manipulate It, Spit It Back Out

s/([A-Za-z0-9_\.\:]+)/$my_replacement{$1}||$1/eg

Replies are listed 'Best First'.
Re: Re: Read In A File, Manipulate It, Spit It Back Out
by JojoLinkyBob (Scribe) on Jul 17, 2001 at 02:20 UTC
    Succintly beautiful, thanks! :) Desert coder