http://www.perlmonks.org?node_id=388488


in reply to replace all but first

Hi texuser74.

I thought these regex tutorials might prove beneficial:

http://tlc.perlarchive.com/articles/perl/pm0001_perlretut.shtml

http://www.regular-expressions.info/tutorial.html

Hope this helps,
-Katie