Small regexp question:
I'd like to replace all occurrences of "a@" to "A" except for the one inside the mailto-link.
Is there some quick regexp magic for doing such things?
Thx,
kellner
Code:
my $string = q|a@alkdjsf ks dlkja@ <a href="mailto:aaaaa@somehost.com">Jack Jones</a>sdlkfj klsdj a@sldkfj a@sdkf a@|;I'd like to replace all occurrences of "a@" to "A" except for the one inside the mailto-link.
Is there some quick regexp magic for doing such things?
Thx,
kellner