How would I print only the words that contain the letter "p" in a file??? Right now I am only printing the entire lines that contain words with the letter "p". while (<FILE>) { if(/[p]/) { print "$_"; } } close(FILE); thanks in advance _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Re: reg exp match David Draley
- Re: reg exp match Curtis Poe
- Re: reg exp match Jarrod Overson