in reply to Re^3: look for a word
in thread look for a word

Your regex can small like this(be sure the string you need is inside ' ' as you shown us).......but all of them do the same job.....so its your choise.
#!/usr/bin/perl -w use strict; my @match; while(<>){ push (@match,$1) if /'(.*)'/; }


``The wise man doesn't give the right answers, he poses the right questions.'' TIMTOWTDI