valavanp has asked for the wisdom of the Perl Monks concerning the following question:
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.<p>text comes here </p><p>text within after in  attorney’s fees, + Inc’s principle</p>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: strip html tags and special characters in perl while inserting the text in to database.
by naikonta (Curate) on Jun 09, 2007 at 08:37 UTC | |
|
Re: strip html tags and special characters in perl while inserting the text in to database.
by graff (Chancellor) on Jun 09, 2007 at 16:26 UTC | |
|
Re: strip html tags and special characters in perl while inserting the text in to database.
by blazar (Canon) on Jun 09, 2007 at 16:07 UTC | |
|
Re: strip html tags and special characters in perl while inserting the text in to database.
by bart (Canon) on Jun 10, 2007 at 12:09 UTC | |
by valavanp (Curate) on Jun 10, 2007 at 17:12 UTC | |
by graff (Chancellor) on Jun 13, 2007 at 04:08 UTC |