Re: Isolating a word with a certain pattern

2004-07-21 Thread Paul Smith
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 c

Re: Isolating a word with a certain pattern

2004-07-21 Thread Damon Allen Davison
Hi Paul, I'm not entirely sure of what you mean by "isolating" a word, but Perl programmers often use regular expressions to locate and manipulate words. You can look at 'perldoc perlre' for more info on regular expressions and 'perldoc perllocale' for information on making the regular express

Re: Isolating a word with a certain pattern

2004-07-21 Thread Prasanna Kothari
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