in reply to Regxp: signaling when to stop

If your idea is sufficient, here's how to do it:

my ($name) = m/sequence (.*?) consists/i;
assuming that $_ contains the line you're parsing. If whitespace is inconsistent, you can canonicalize it with,
$_ = join ' ', split;
before applying the match.

After Compline,
Zaxo