Prasanna Kothari wrote:
Have a look at "\w" Refer:
http://www.perldoc.com/perl5.8.4/pod/perlrequick.html

I am trying to write a script to identify all words having a certain pattern in a text file. Is there in Perl a direct way of isolating a word with a certain pattern? Or has one to check all characters, bearing in mind that a word is a string delimited by two spaces?

I thank you and Damon for your very helpful replies to my question.

Paul


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to