in reply to Transforming Text to Image!!

small suggestion?

s/([!?])+$/$1/;

:)