RE: Find and delete

2001-10-01 Thread Verhare
Hi, At 1-10-2001 10:12 -0400, Bob Showalter wrote: > > my $wordtodelete = "[Deletethis]; > >There's a quote missing at the end of this line. Sorry, typo in my email, not in the script. >Since your $wordtodelete may or may not include such "meta" >chars, the best way to do this is to use t

Find and delete

2001-10-01 Thread Verhare
Hi, I'm fairly new to perl and having a little problem. I want to delete a word from a phrase. My problem is that the word is contained in square brackets. The phrase looks something like this : [Deletethis] And some other words I tried to use something like this to delete the word bet