in reply to Re^2: grep for ending with double quotes
in thread grep for ending with double quotes
..so how can I ensure it takes only those words which start with " not end with "..
You ask Perl to do that exactly like so:
..produces...print join "\n" => grep /"\w+?/, qw( abc efgh" "ijk lmn "opqr stuv");
Please, pay close attention to the link provided by Happy-the-monk"ijk "opqr
|
|---|