PHP preg_match to get a word after space, which is where it a word KG
<p>I have a string that is uncertain,I have the following strings:<br>
 <code>ST,NT,+ 16KG ~YT,NT,+ 16KG</code><br>
<code>ST,NT) 16KG +YT,N,+ 16KG</code><br>
<code>ST,NT,+ 16KG</code> and etc.<br></p>

<p>My question is there any regex only take <strong>16KG</strong> or <strong>16</strong>, because the string output from  digital scale.<br>
I'm working on an application with serial port, so I can not parsing the data there, while in the output on digital scale tool is only <code>16KG</code>.</p>
