Hi all, me again! I have a variable (mymessage) that contains alot of text, plus some $scalar variables...
A bit like this. my $mymessage= 'blah blah blah $myblah with a bit of $moreblah' ; then I would like to process this so I can use it as the body of an email. Like this. $mymessage =~ s/(\$\w+)/$1/eeg; This works great and I can continue with sending the email etc, but some of my $scalars are all digits, and the above regex does not change them correctly. I have looked in the perl manpages, but I can only see how to do one or the other, Anyone have any ideas?? Thanks as always, Chris.