[sf-perl] regex help
Dan Keller
dan at keller.com
Tue Oct 11 12:01:48 PDT 2011
Assuming you have a shell and the sed command:
sed "s/^[^.][^.]*\.//" < inputfile > outputfile
--
Dan Keller
dan at keller.com
http://www.dan.keller.com
+1 (415) 861-4500
On 10/11/2011 11:57 AM, Richard Reina wrote:
> I have a file that has list of some sentences. Some of them are
> numbered so I am going in circles trying to figure out how to remove
> the numbering. The file is in the following format:
>
> 12. blah blah, blah blah blah. blah.
> 29. blah blah, blah.
> 19. blah blah blah.
>
> I am looking for a way to capture everything after the first dot so as
> to remove the numbering.
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Richard
>
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20111011/2b67aedd/attachment.html>
More information about the SanFrancisco-pm
mailing list