$str = "a. Hello my name is xxx.
b. Hello is my name yyy?
c. Hello my name is rrr!
d. Hello my name is aaa";
$res = preg_split("/
[a-z].s/", "
" . $str);
array_shift($res);
print_r($res);
output
Hello my name is xxx.
Hello is my name yyy?
Hello my name is rrr!
Hello my name is aaa
<?php
$polygon = "monogon, digon, trigon, tetragon, pentagon"
#Now, I want to separate these polygon names
$separated = explode(", ", $polygon)
#SYNTAX:
# explode("using characters", Separate What)
?>