Re: help regex replacement

2012-05-02 Thread zilore mumba
Brian, Thank you very much. Your code is very concise and does exactly what I want. Regards Zilore From: Brian Raven To: "activeperl@listserv.ActiveState.com" Sent: Wednesday, May 2, 2012 11:39 AM Subject: RE: help regex replacement Sorry t

RE: help regex replacement

2012-05-02 Thread Brian Raven
00:00', '2012-05-01_00:00:00', Last line HTH -- Brian Raven From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of zilore mumba Sent: 01 May 2012 08:22 To: zilore mumba; $Bill Luebkert Cc: activeperl@listserv.ActiveSta

Re: help regex replacement

2012-05-01 Thread zilore mumba
onth}-${eday}_00:00:00',\n"; * print scalar(); * print scalar(); * print OUT scalar() for 6..37; *   close IN; *   close OUT; ** From: zilore mumba To: zilore mumba ; $Bill Luebkert Cc: "activeperl@listserv.

Re: help regex replacement

2012-04-30 Thread zilore mumba
0:00',$/ I hope this is possible. Zilore From: zilore mumba To: $Bill Luebkert Cc: "activeperl@listserv.ActiveState.com" Sent: Tuesday, May 1, 2012 5:31 AM Subject: Re: help regex replacement Thanks very much Bill, and also for the as

Re: help regex replacement

2012-04-30 Thread zilore mumba
e.com" Sent: Tuesday, May 1, 2012 12:02 AM Subject: Re: help regex replacement On 04/30/2012 14:28, zilore mumba wrote: > sample input > start_date = > '2012-04-29_00:00:00','2012-04-29_00:00:00','2012-04-29_00:00:00', > end_date = '2012-0

Re: help regex replacement

2012-04-30 Thread $Bill Luebkert
On 04/30/2012 14:28, zilore mumba wrote: > sample input > start_date = > '2012-04-29_00:00:00','2012-04-29_00:00:00','2012-04-29_00:00:00', > end_date = '2012-05-01_00:00:00','2012-05-01_00:00:00','2012-05-01_00:00:00', > > The model would have run on 29th May, to produce a 48hour forecast to 1sr

Re: help regex replacement

2012-04-30 Thread Michael Ludwig
zilore mumba schrieb am 30.04.2012 um 14:28 (-0700): > sample input > > start_date = > '2012-04-29_00:00:00','2012-04-29_00:00:00','2012-04-29_00:00:00', >  end_date   = > '2012-05-01_00:00:00','2012-05-01_00:00:00','2012-05-01_00:00:00', > > The model would have run on 29th May,  to produce a

Re: help regex replacement

2012-04-30 Thread zilore mumba
From: zilore mumba To: "Thurn, Martin (TASC)" Sent: Monday, April 30, 2012 10:29 PM Subject: Re: help regex replacement My mail should have readsample input start_date = '2012-04-29_00:00:00', '2012-04-29_00:00:00', '2012-04-29_00:00:00'

Re: help regex replacement

2012-04-30 Thread zilore mumba
0:00',  end_date   = '2012-05-02_00:00:00','2012-05-02_00:00:00','2012-05-02_00:00:00', ____ From: Michael Ludwig To: activeperl@listserv.ActiveState.com Sent: Monday, April 30, 2012 8:00 PM Subject: Re: help regex replacement zilore m

Re: help regex replacement

2012-04-30 Thread Michael Ludwig
zilore mumba schrieb am 30.04.2012 um 10:14 (-0700): > I have to automate a modle namelist by replacing the start and end > date of the model run as per lines below. Please provide two data items: * sample input * expected output Michael ___ ActivePerl

help regex replacement

2012-04-30 Thread zilore mumba
Hello Kind folks, I have to automate a modle namelist by replacing the start and end date of the model run as per lines below. start_date = '2012-04-26_00:00:00','2012- 04-26_00:00:00', end_date   = '2012-04-26_09:00:00','2012-04-26_09:00:00', I have been checking the documentation on how to te r