![]() |
|
Welcome to the Monastery | |
PerlMonks |
strip html tags and special characters in perl while inserting the text in to database.by valavanp (Curate) |
on Jun 09, 2007 at 08:12 UTC ( #620160=perlquestion: print w/replies, xml ) | Need Help?? |
valavanp has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I am inserting the following text into the database.
It contains html tags and some special characters. I don't want to insert that. Is there any way of doing this. My approach for this will be regular expressions or is there any module to do that. When using regular expressions i don't know the exact special character to match. Can anyone suggest a way for doing this? Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|