in reply to Re^8: regex to return line with name but not if it has a number
in thread regex to return line with name but not if it has a number
Thanks for your help and I get your comment re the name regex, it's ceratinly a trick one.Here's an example file and some example code:
- 51 Laboratory Director Jobs in Redwood City, CA | › Jobs › Labor +atory Director Jobs Apply to 51 Laboratory Director jobs in Redwood C +ity, CA on . ... Apex Life Sciences; formerly known as Lab Support (2 +) BioReference Laboratories (2) - Laboratory Director Relocate to Los Angeles Job at ... /jobs/view +/250533025 We are looking for a Lab Director to lead our growing team +, ... Director, CLIA Lab Illumina Redwood City, CA, US. Posted 15 day +s ago. Sponsored. Laboratory Technician - 32 Director Laboratory Operations Jobs | › Jobs 32 Director Labo +ratory Operations jobs in United States on . ... and foster a high .. +. GCP and CLIA laboratory. Director of Lab Operations - CRO. We are . +.. - 21 Associate Director Operations Jobs in San Mateo, CA ... › Jobs + › Associate Director Operations Jobs Foster City, CA, US. Our worldw +ide ... Minimum of 5 years managerial experience in a CLIA lab enviro +nment and strong ... The Associate Director of Clinical Operations .. +. - 321 Laboratory Operations Jobs in San Francisco, CA | › Jobs › L +aboratory Operations Jobs Minimum of 5 years managerial experience in + a CLIA lab environment and strong leadership skills to ... Associate + Technical Director ... based in Foster City , CA … - John Smith| Clinical Lab Operations Director at … · - 43 Laboratory Manager Jobs in Menlo Park, CA | › Jobs › Laborato +ry Manager Jobs Director; Executive; ... role in the overall running +and safety of the laboratory and is responsible for managing the dail +y operations of the lab. ... Foster City, CA ... - Joe Bubba | /Affairs and Quality … · - 169 Clinical Laboratory Scientist Jobs in California ... › Jobs › + Clinical Laboratory Scientist Jobs Culver City, California (1) Monte +rey, California (1) West Sacramento, California (1) Company. Clinical + Management Consultants (28) University of California, San ... - David W. Anderson | /in/david-w-anderson-29b58326 View David W. +Anderson’s professional profile on . ... In-licensed & in +tegrated 2 products into CLIA lab ... •Provide leadership to f +oster team vision ... - Related Searches for "CLIA Lab Director Foster City" site:w†+;¦ clia lab director course - Related searches clia lab director course
code below:
use strict; use warnings; use IO::Handle; use File::Basename; use File::Find; use File::Copy; my $fh; my $fh2; my $jj; my $file; my $line; print "I'm in trim\n"; print "curent working directory is $ENV{PWD}, \n"; open ($fh, ">", "output2.txt") or die "$!"; print $fh ""; close $fh; chdir "../Html3"; print "curent working directory is $ENV{PWD}, \n"; my @files2 = grep { -f } glob("*.txt"); foreach $file (@files2) { open (FILE, "$file"); while($line= <FILE> ){ open ($fh2, ">>", "output2.txt") or die "$!"; if ($line =~ m/^[A-Z]'?[- a-zA-Z]+$/) {print $fh2 "$line";} if ($line =~ m/^[A-Z]'?[- a-zA-Z]+$/) {print "$line";} } close FILE; } die;
Right now I'm thinking the best strategy if to match the leading hyphen and the name to extract the line but I can't figure that regex out, I just have the basic name matching on in there now. Thanks in advance for the assistance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: regex to return line with name but not if it has a number
by Corion (Patriarch) on Apr 03, 2017 at 19:00 UTC | |
|
Re^10: regex to return line with name but not if it has a number
by Marshall (Canon) on Apr 03, 2017 at 19:17 UTC | |
by AnomalousMonk (Archbishop) on Apr 03, 2017 at 20:43 UTC | |
by Marshall (Canon) on Apr 03, 2017 at 23:10 UTC |