sarvan has asked for the wisdom of the Perl Monks concerning the following question:

Hi there,

I am doing a web related script in which i use the google's result snippet of each query. When i process this snippet many times i come across different symbols in snippet.

like ,.:([] etc. many unknown symbols too.. Also numbers occur many times.

Is there any special regular expression which removes any kind of symbols from a specified sentence in perl

Plz let me know.. thanks.

Replies are listed 'Best First'.
Re: special symbol removal
by moritz (Cardinal) on Jul 29, 2011 at 08:05 UTC
Re: special symbol removal
by Anonymous Monk on Jul 29, 2011 at 08:36 UTC
    You should also find the tr operator with the /c and /d options useful.