#!/usr/bin/perl -w use strict; $line = "(The)025738(Name)050138()\t(Date)114494(REAL)16594()\t( )0221 +92338(1120)\t(You Are Here)\t( )\t(Date)014472571(today)\n"; $line =~ s/\)\w+\(/)(/g; # match on one or more word characters sandwi +ched between ) and ( print $line;
In reply to Re: Re: Re: Print record by column key
by Mr. Muskrat
in thread Print record by column key
by vanuatu10
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |