文字列があり、そのための情報を抽出したいと思います。文字列は次のようになります
$string = "Followers: abc.com. ID by: xyz@gmail.com. More info: all the rest of information goes here. All other goes everywhere else."
$stringは時々ちょうど持っています
$string = "ID by: xyz@gmail.com."
また
$string = "Followers: abc.com."
または他のコンボ。そこにIDがあるかどうかを確認して取得しようとしています。
これを達成するための最良の方法は何でしょうか