How can I grab all the text after the 3rd match
eg:
$data=.... afdhauio af ad a reason one reason two 1 2 3's reason for,reason7,reason8 ejroapjr....
I want all the stuff or at least 200 lines after the third occurance of "reason". i.e.reason for,reason7,reason8 ejroapjr....
$data is SLURPed
What if I want all the stuff after the last occurance of "reason"?
Can I still use sth like $data=~m/ /g
or should I use /ismo?
Thanks