in reply to Re: advance Regex
in thread advance Regex
Works fantastic. but can you explain the second and third regex to me? it will be your huge favour on me. this one:
$content =~ /(Putative.*?);/s; my $acids = $1; $acids =~ s/\n\s+/ /g;
and this one
$content =~ /TITLE\s*(.*?)\n\s+JOURNAL/s; my $aminoAcids = $1; $aminoAcids =~ s/\n\s+/ /g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: advance Regex
by hippo (Archbishop) on Apr 28, 2020 at 13:15 UTC | |
by shabird (Sexton) on Apr 28, 2020 at 13:32 UTC |