Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: Search and delete lines based on string matching

by imp (Priest)
on Mar 13, 2007 at 15:33 UTC ( [id://604576]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    A[0]
    C
    D
    
  2. or download this
    A[0]
    B
    ...
    D[0]
    D1
    DA
    
  3. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
    }
    close($infile);
    close($outfile);
    
  4. or download this
    Search pattern: ^(?:A\[0\]|C|D)[^a-zA-Z]*$
    input : A[0]
    ...
    input : D1
    input : DA
    output: DA
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found