title: How do find letters in string and show complete word
body: <p>How can I find with letters a word in a string?</p>
  
  <p>Example (No code):</p>
  
  <blockquote>
    <p>String -> Hello you live in Oklahoma.city its cool</p>
    
    <p>Find -> .city</p>
    
    <p>Show -> Oklahoma.city</p>
  </blockquote>
  
  <p>I can check if exists like this:</p>
  
  <pre><code>$string = "Carlos.name its a name, Miami.city its a city, 15.number its a number";
  
  if (stripos($string, '.city') !== false) {
  echo "Exists";
  }
  </code></pre>
  
  <p>But i need show <strong>Miami.city</strong> ..</p>
  
  <p>Thanks so much</p>