if you want the text beginning with a specific string, this will do that:

//var %temp <td align="right" valign="top"><span style="color: #9999CC; font-weight: bold">Text:</span></td><td style="background-color: #CCCCCC; font-weight: bold">KMCI 150453Z 27009KT 10SM OVC035 02/M04 A2965 RMK AO2 SLP044 T0022 | var -s %pos $pos(%temp,KMCI,1) | var -s %kmci $mid(%temp,%pos)

If you want to extract words from this substring, it depends on whether you want the Nth word, the word matching a wildcard, etc - see the /help page for the token functions like $gettok $findtok $wildtok etc. It's hard to know what to tell you without knowing what the input is likely to be like