Advertisement

11.30.2005 at 07:50AM PST, ID: 21648013
[x]
Attachment Details

Perl script to find a pattern in a file

Asked by nmretd in Perl Programming Language

Tags: pattern, file, find

Hi Experts,

 I have a input file where the header of the file has columns as below.

I_AUDITID(16),D_DATE(8),T_TIME(8),I_TSORDNUM(10),C_RECORDTYPE(4)

I need to read from the input file to an out put file as below.

I_AUDITID,D_DATE,T_TIME,I_TSORDNUM,C_RECORDTYPE,

Basically I need to remove the bracket and the digits insde it.

Please provide me with a perl script/ example pgm.

thanks.Start Free Trial
[+][-]11.30.2005 at 09:36AM PST, ID: 15390008

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.30.2005 at 10:41AM PST, ID: 15390489

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.30.2005 at 11:27AM PST, ID: 15390820

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: pattern, file, find
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 5
Solution Grade: A
 
 
[+][-]11.30.2005 at 12:21PM PST, ID: 15391241

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11.30.2005 at 12:44PM PST, ID: 15391404

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.30.2005 at 01:12PM PST, ID: 15391618

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.30.2005 at 01:22PM PST, ID: 15391692

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.30.2005 at 01:38PM PST, ID: 15391857

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.30.2005 at 10:43PM PST, ID: 15394531

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.27.2006 at 08:50PM PDT, ID: 16559253

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]05.01.2006 at 12:59AM PDT, ID: 16575927

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32