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


Paul Smith wrote:

Dear All

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?

Thanks in advance,

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