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
print;
}
__DATA__
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?
Outp
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 on
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