in reply to Regex: save values
if ( /(ct(?:a|g)a(?:c|t))(.{20,50})$/i ){ $branch = $1; # this will be 'ctXaX' $pyrich = $2; # this will be the 20-50 chars at the end }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex: save values
by Anonymous Monk on Jun 13, 2005 at 08:53 UTC |