Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Multiple substitutions in large files

by ikegami (Patriarch)
on May 09, 2005 at 14:58 UTC ( [id://455196]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/\s*\|\s*/\|/g;
    s/^\.?(?=\|)/\\N/;
    s/(?<=\|)\.?(?=\||$)/\\N/g;
    s/(?<=\d{2}:\d{2}:\d{2})\.\d+//g;
    s/(?<=\d{5})-(?:\d{1,4}|\s+)//;
    
  2. or download this
    s/\s*\|\s*/\|/g;
    s/^(?=\|)/\\N/;
    ...
    s/(?<=\|)\.(?=\|)/\\N/g;
    s/(?<=\d{2}:\d{2}:\d{2})\.\d+//g;
    s/(?<=\d{5})-(?:\d{1,4}|\s+)//;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://455196]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found