OK i have for example this string "hello my name is : yehuda hello my
brother name is yehuda"
Now I would like to split it in to array
so if I'll just use this:
preg_match_all( "/hello.+yehuda/s", $data, $out, PREG_PATTERN_OR DER);
the function will use only the last yehuda as my splitter and keep the
string/
so how do i express string which shouldn't contain other string?
thanks
brother name is yehuda"
Now I would like to split it in to array
so if I'll just use this:
preg_match_all( "/hello.+yehuda/s", $data, $out, PREG_PATTERN_OR DER);
the function will use only the last yehuda as my splitter and keep the
string/
so how do i express string which shouldn't contain other string?
thanks
Comment