in reply to Removing Junk from Files
Add whatever charakter you want to see to the !?,.;:'" part.open FILE, "something"; while (<FILE>) { s/[^A-Za-z0-9!?,.;:'"]//g; print $_; }
Hope this will help.
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing Junk from Files
by Beatnik (Parson) on Apr 12, 2001 at 13:40 UTC |