Perl remove mailto tag from html page

Hi Experts,

i just need a little line of script to remove mailto tag from html page

this is what I am using but not working:

$url =~ s/<a href=mailto:.*\/a>//gi;

could you give me some help

thanks riccardo
rcinformaticaAsked:
Who is Participating?
 
ozoConnect With a Mentor Commented:
$url =~ s/<a\s*href="?mailto:.*?\/a>//gis;
0
 
rcinformaticaAuthor Commented:
thanks it works great
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.