kotoko has asked for the wisdom of the Perl Monks concerning the following question:
I need to take out the "grey heron" of the following string. "ERROR: Sequence grey heron consists entirely of undetermined values which will be treated as missing data"
The problem is that the name is totally unpredictable so the Regex needs to work for something like "humming bird" and all other multi-word names of living beings.
I think what I should say is get all characters between Sequence and consists but have no idea how to say that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regxp: signaling when to stop
by Zaxo (Archbishop) on Jun 20, 2007 at 15:09 UTC | |
|
Re: Regxp: signaling when to stop
by Sidhekin (Priest) on Jun 20, 2007 at 15:20 UTC | |
|
Re: Regxp: signaling when to stop
by Fletch (Bishop) on Jun 20, 2007 at 15:06 UTC | |
|
Re: Regxp: signaling when to stop
by Trizor (Pilgrim) on Jun 20, 2007 at 15:14 UTC |