Regular expression - need to split the word using preg_split
----------------------- Page 1-----------------------
text of page 1
----------------------- Page 2-----------------------
text of page 2
----------------------- Page 3-----------------------
text of page 3
I need to explode each page text into an array.
array( [0]=> "text of page 1", [1] => "text of page 2",[2]=>"text of page 3")
I used the following regex
((7[-])(page)( )[1-100](7[-]))