in reply to Re: Re: Print record by column key
in thread Print record by column key
#!/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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Print record by column key
by vanuatu10 (Initiate) on May 21, 2002 at 21:04 UTC | |
by Aristotle (Chancellor) on May 22, 2002 at 01:05 UTC |