Help for this page

Select Code to Download


  1. or download this
    open (INPUTFILE, "< $filein");
    while (<INPUTFILE>) {
        my $line=$_;
        $line =~ s/\),\(/\)\n\(/gi;
    };
    
  2. or download this
    my $regex=<STDIN>;                    #Entering s/\),\(/\)\n\(/gi 
    chomp $regex;
    ...
        my $line=$_;
        $line =~ $regex;
    };