/ Published in: Perl

Use this code to remove HTML from a string.
Expand |
Embed | Plain Text
$cleancode =~ s/<(.*?)>//gi;
You need to login to post a comment.
Use this code to remove HTML from a string.
$cleancode =~ s/<(.*?)>//gi;
You need to login to post a comment.