Строка может быть такой
Код: Выделить всё
$string = "Followers: abc.com. ID by: xyz@gmail.com. More info: all the rest of information goes here. All other goes everywhere else."
Код: Выделить всё
$string = "ID by: xyz@gmail.com."
Код: Выделить всё
$string = "Followers: abc.com."
Как лучше всего этого добиться?
Подробнее здесь: https://stackoverflow.com/questions/128 ... substrings