in reply to Capturing text between literal string delimiters (was: Regular expressions)

aaaahhhh now i see :)
you can probably do this with a single regular expression, but i believe this will work (assumming there is only a single set of delimiters on each line).
for(split("\n", $string)) { push @array, (/sp (.*) sp/); }