nejcPirc has asked for the wisdom of the Perl Monks concerning the following question:

Hello perl monks,

Can you explain me how to filter text data which i get from my form...

With my CGI I colect data from my form(textarea for example)...
Now i have colected data in my $data='abcd efgh<img src="">ijklmn';

Now I would like to use some filter to clear out HTML TAGS like "<img src="">" from my $data, so on the end it shoul contain no html tags, only text: $data='abcd efgh ijklmn';

Thanks a lot, Nejc