title: PHP select word after a certain word
body: <p>Hello everyone I'm working on something where I'm going to take a person's ID from a string, which is after that person's name. So how it works, is a POST value is stored in a variable. In this case, $user = "Himatochi". I want to select the users ID (its a SteamID, if that matters) which comes right after their name in a string. But it should be noted that there are more than 1 players and ID's listed in the string. </p>
  
  <p>So right now here's the string I have </p>
  
  <blockquote>
    <p>hostname: Development Server version : 14.09.08/24 5914 secure udp/ip
    : 192.168.1.4:27015 (public ip: 135.120.128.85) map : gm_flatgrass at:
    0 x, 0 y, 0 z players : 2 (16 max) # userid name uniqueid connected
    ping loss state adr # 2 "Chalu87" STEAM_0:1:70377242 05:01 35 0 active
    192.168.1.4:27006 # 4 "Himatochi" STEAM_0:0:53654842 01:13 267 0 active 105.20.142.139:27005</p>
  </blockquote>
  
  <p>So I basically want code that tells PHP to store the SteamID after $user into a new variable.</p>