jQuery to remove mailto

I wanted to remove a mailto and leave just the email address:


$('a[href^="mailto:"]').contents().unwrap();

Comments are closed.