Remove HTML with Perl Regular Expression


/ Published in: Perl
Save to your folder(s)

Use this code to remove HTML from a string.


Copy this code and paste it in your HTML
  1. $cleancode =~ s/<(.*?)>//gi;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.