> How do I delete some words in a string, like with
> SED in Unix.

You you want, think of Perl as sed's big brother :)

perl -p -e 's/WORD//g'

or, in a script:

$string = "String that has a WORD I want deleted";
$string =~ s/WORD//g;

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to