in reply to strip html tags and special characters in perl while inserting the text in to database.

When using regular expressions i don't know the exact special character to match.

(naikonta already told you 'bout HTML tags.) This all depends on how special the charachters you want to exclude really are. What do you want? ASCII only? And if so, then what's to be of the excluded charachters? Are you just stripping them? Do you want to encode them some way?

  • Comment on Re: strip html tags and special characters in perl while inserting the text in to database.