Input would be, for example, as (part of) a line in a text file, 
"\u99m\UTc". The desired output in this case would be "99mTc".

The objective is to delete the "\u" and the "\U" and any other single 
letters where they are preceded by a backslash.

Regards

John

On 16/01/2013 17:28, Robert Klemme wrote:
> On Wed, Jan 16, 2013 at 3:52 PM, John Sampson <jrs.idx / ntlworld.com> wrote:
>> I should have mentioned that I was using gsub!
>>
>> It does look as if I will need a non-Ruby program to massage the file input.
> I don't think so.  Instead of providing a sample in a language I don't
> know can you provide input and desired output?  I still don't see
> what's not working with gsub or gsub! here at all.
>
> Kind regards
>
> robert
>