Hi,
I am trying to use perl to format some html as follows:
I want to enclose ever occurrence of $a with $a. However I only want to replace $a when it occurs outside of the html tags already present. In other words, do a s/$a/$a/g except when the $a is somewhere between a < and a >