Dear Collegues
I have to extract Some pattern from raw text file using perl
The input will be raw text.
Pattern to get - Sequence of Capital Letter Words ( e.g. he is working in Center for Perl Studies. He will come tomorrow...) from thos I have to extract sequences like "Center for Perl Studies " and "C.P.S".
sequence : any sequence of Cpital letter e.g name of companies etc and abbriviations.
I have to extract Name of Companies and Abbriviations from a text using perl
billym.>X="he is working in Center for Perl Studies. He will come tomorr>
billym.>echo $X |perl -pe 's/([A-Z])\S*/$1\./g'
he is working in C. for P. S. H. will come tomorrow.
you could have a large list of ignore words maybe, like for, the, he, it, and