Re: Regular Expressions with Incremented Variable Embedded

2009-06-01 Thread Dr.Ruud
Raabe, Wesley wrote: I am using regular expressions to alter a text file. Where my original file has three spaces to start a paragraph, I want to replace each instance of three spaces with a bracketed paragraph number, with a counter for paragraph numbers, pgf 1, pgf 2, pgf 3 etc. [...] The

Re: Regular Expressions with Incremented Variable Embedded

2009-05-31 Thread John W. Krahn
Raabe, Wesley wrote: I am using regular expressions to alter a text file. Where my original file has three spaces to start a paragraph, I want to replace each instance of three spaces with a bracketed paragraph number, with a counter for paragraph numbers, pgf 1, pgf 2, pgf 3 etc. The PERL

Regular Expressions with Incremented Variable Embedded

2009-05-30 Thread Raabe, Wesley
I am using regular expressions to alter a text file. Where my original file has three spaces to start a paragraph, I want to replace each instance of three spaces with a bracketed paragraph number, with a counter for paragraph numbers, pgf 1, pgf 2, pgf 3 etc. The PERL program that I'm using

Re: Regular Expressions with Incremented Variable Embedded

2009-05-30 Thread Chas. Owens
On Sat, May 30, 2009 at 23:32, Raabe, Wesley wra...@kent.edu wrote: I am using regular expressions to alter a text file. Where my original file has three spaces to start a paragraph, I want to replace each instance of three spaces with a bracketed paragraph number, with a counter for