Ok, I'm not sure if I'm misreading the OP's spec, or you are.
I think you mean:
(swapped end and start) - cheersmy $ext = substr $str, $start, $end - $start;
In reply to Re: Re: print data between two regular expressions
by davis
in thread print data between two regular expressions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |