$ perl -le' my $orf = "AAAAXRXAAAAAXKXAAAAAXRPXAAA"; my @digested0 = split /(?<=[KR](?!P))/, $orf; print for @digested0; ' AAAAXR XAAAAAXK XAAAAAXRPXAAA
In reply to Re: Splitting string (regex) while keeping the separator?
by Anonymous Monk
in thread Splitting string (regex) while keeping the separator?
by Cantello
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |