in reply to
simple replace question
If the string does not have
<p>
or
</p>
tags in the middle (or if it does and you want to get rid of those as well), you could do it like this:
$testtext =~ s{</?p>}{}g;
[download]
(but when removing these tags from the middle of a string, it might be better to replace them with some sort of whitespace, to avoid creating run-on words)
Comment on
Re: simple replace question
Select
or
Download
Code
In Section
Seekers of Perl Wisdom