title: How to get "name" attribute of html tag using php getStr?
body: <p>I'm trying to find a way to get the content of this HTML attribute "name", using PHP getStr, I can't get it to work anyhow, I have already searched, but I couldn't find find something that may help me.</p>
  
  <pre><code>&lt;input id="9d6e793e-eed2-4095-860a-41ca7f89396b.subject" maxlength="50" name="9d6e793e-eed2-4095-860a-41ca7f89396b:subject" value="" tabindex="1" class="subject required field" type="text"/&gt;
  </code></pre>
  
  <p>I want to get this value into a string:</p>
  
  <blockquote>
    <p>9d6e793e-eed2-4095-860a-41ca7f89396b:subject</p>
  </blockquote>
  
  <p>I can get the value of a tag like this one:</p>
  
  <pre><code>&lt;input type="hidden" name="message" value="1442814179635.Oz1LxjnxVCMMJ0QpV0wGLx4roEA="/&gt;
  </code></pre>
  
  <p>With this code:</p>
  
  <pre><code>getStr($b,'name="message" value="','"');
  </code></pre>
  
  <p>But I can't find a way to get the attribute name of the first one?</p>