in reply to
regex substitution
closer to what you want..
$text =~ s/#([^#]+)#/$hash{$1}/g
[download]
Rich
Comment on
Re: regex substitution
Download
Code
In Section
Seekers of Perl Wisdom