Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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 ( #620195=note: print w/ replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://620195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2015-07-28 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls