Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
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 imbibing at the Monastery: (7)
As of 2014-04-17 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls