my $needed_data = (split /data_here(.+)/)[1]; [download]
Note that $_ as the second argument to split can be omitted.
In reply to Re: split paragraph by choroba in thread split paragraph by james28909