in reply to regex substitution
closer to what you want..
Rich$text =~ s/#([^#]+)#/$hash{$1}/g
|
---|
In Section
Seekers of Perl Wisdom
in reply to regex substitution
Rich$text =~ s/#([^#]+)#/$hash{$1}/g
|
---|