20710Re: [Clip] Re: regex to remove ties
- May 29, 2010That worked like a charm -- I'll now go back and actually try to
understand it. These things are amazing little puzzles!
Here is my next one ...
in this line:
400 METER RELAY -- 1. Kent City (A), 51.50 (Dena Bliss, Hannah Miller,
Katie Murphy, Suzy Stocking); 2. Farwell (A), 53.80 (Emily Rohdy, Jenna
Hamming, Melinda Dunkle, Kayla Kelly); 3. Morley Stanwood (A), 53.80
(Emma Hinds, Brianna Mumby, Andie Paulson, Mariah Mallory); 4. Shepherd
(A), 54.00 (Erin Mckenna, Kelsey Kunik, Kendle Zalesak, Jenna Randolph);
5. Reed City (A), 55.50 (Kelsey Jones, Peyton Henderson, Nicolle
Ostrander, Liz Bors; 6. Newaygo (A), 56.40 (Brielle Emery, Arielle
Bouwer, Jackie Carpenter, Whitni Roa; 7. Shelby (A), 56.90 (Megan
Clearwater, Cara Barber, Sarah Lulich, Celsey Tietz); 8. Evart (A),
56.90 (Ariel Kitchen, Ashlyn Joyce, Haley Moore, Abbey Huff).
I need to find open parenthesis wich are in #5 and #6 and close them ...
So it becomes ... ; 5. Reed City (A), 55.50 (Kelsey Jones, Peyton
Henderson, Nicolle Ostrander, Liz Bors[insert closing here]; 6. Newaygo
(A), 56.40 (Brielle Emery, Arielle Bouwer, Jackie Carpenter, Whitni
Roa[insert closing here]; 7. ...
So it would be find \d\.[space].*[not parenthesis]\d+\.[space] or some
On 5/24/2010 10:32 PM, diodeom wrote:
> ^!Replace "\d+\KT">> "" WARS
> ^!Replace "( \d+\. )[^;]++;( T\. )">> "$1" WARS2
> ^!IfError End
> ^!Goto Skip_-2
- << Previous post in topic Next post in topic >>