0x78ff29>0xff3c1f>'); //echo "Searching String: Alpha Project <<< LOVER\$BOYs Hells Racing!
\n"; echo "
\n";
    
    $pos = strpos($text, "0x");
    $prevpos = 0;
    
    $line = "";
    while ($pos !== false)
    {
        //  get color code from function
        $color = extractColorCode($text, $pos);
        
        //  store previous and continue
        $prevpos = $pos;
        $pos = strpos($text, "0x", $pos + 1);
        
        //  checking whether there is anymore to do
        if ($pos !== false)
            //  if so, then store only the string in between new color code and previous color code
            $str = substr($text, $prevpos, $pos - $prevpos);
        else
            //  if not, then store the rest of the string from previous color code
            $str = substr($text, $prevpos);
        
        //  finally, output the string for each parsing
        $line .= ''.$str.'';
    }
    
    echo $line;
    $converted = true;
    echo "
\n"; } ?> Enter your color coded arma string into the box and click "Convert"
Display:
Original: