From: sln on
On Wed, 23 Jun 2010 13:53:37 -0700 (PDT), ChrisC <gjwpp88(a)gmail.com> wrote:

>I want to keep # data and disregard X data/position in a string that
>is being read from a serial port.

As someone said tr/X#/xa/ and unpack would be the way to go.
However, without an anchor or other frame reference, this will
do you absolutely no good whatsoever.

-sln