Bingo! Thanks for the replies.
Just use the "non-greedy" form of "*": s{(\<I\>)(.*?)(\<I\>)}{$1$2\<\/I\>}g should do what you want.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>