Which function would I use for extracting text or characters between two strings?
For example...
If I have this string:
$some_string= "start 39dkskasdi39r0shf908 n3lnelnsfnose34509js fsneflsnfsfnsfsdfn4r9nfe90sf stop";
How can I extract the text between start and stop?.. so I end up with this...
$new_string = "39dkskasdi39r0shf908 n3lnelnsfnose34509js fsneflsnfsfnsfsdfn4r9nfe90sf";
I cannot use substr() since the length of the original string will vary from page to page.
Thanks in advance.