in reply to Re: pattern matching
in thread pattern matching
hi this is not wat i wanted.
$indata =~ s/XYZATGC/XYZ/g; i dont knw what string will be there after ATGC.
in a string like this XYZATGCCVFGBGVFCD... as soon as ATGC is found at a particular position it should trim the entire part (including ATGC and the rest that follows it and show only the string which is XYZ and write it to new file. am i clear now
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: pattern matching
by Xiong (Hermit) on Feb 10, 2012 at 14:14 UTC |