title: PHP PREG_REPLACE changing string
body: <p>I have the following String:</p>
  
  <blockquote>
    <p>"Something:string(lower-case) anything Somethingb:numbers"</p>
  </blockquote>
  
  <p>I am trying to get the char after Something and the numbers after Somethingb with <strong>preg_replace</strong>.</p>
  
  <p>Also, sometimes the string will be just the first part:</p>
  
  <blockquote>
    <p>"Something char anything"</p>
  </blockquote>
  
  <p>So what I need is an outcome like this using <strong>preg_replace</strong>:</p>
  
  <blockquote>
    <p>"string(lowercase) , numbers"</p>
  </blockquote>
  
  <p>or just </p>
  
  <blockquote>
    <p>"string(lowercase)"</p>
  </blockquote>
  
  <p>if the Something b is not in the string.</p>
  
  <p>Any idea would be much appreciated.</p>
  
  <p>Thanks</p>