$num_replacements = $_ =~ s/<I>/<italic>/g; [download]
Cheers, Darren :)
In reply to Re: Counting the number of replaces by McDarren in thread Counting the number of replaces by rsriram