Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 about the Monastery: (10)
As of 2014-12-22 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (126 votes), past polls