Two approaches. One might fit for you.
Approach 1 - nuke leading paths s#^/[^ ] //; Approach 2 - isolate only the part you want
m/(INVALID ORDER-NO \d+)/; $_ = $1;
In reply to Re: A poor bloke and his regex...
by dws
in thread A poor bloke and his regex...
by vek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |