> Hi,
>
> Any body knows regex to convert & # 1 0 6 ; to character "J"?
>
> Thanks,
> Mo
String.replaceAll("\\&\\#106",J");

Signature
Knute Johnson
email s/nospam/knute/
Oliver Wong - 15 Feb 2007 15:45 GMT
>> Hi,
>>
[quoted text clipped - 4 lines]
>
> String.replaceAll("\\&\\#106",J");
Don't forget the semicolon at the end.
You might be able to generalize this by matching any number between the
hash and the semicolon (as opposed to only 106), and then selecting which
character to replace with based on what number was matched -- depending on
whether or not that was what you wanted to do in the first place, of course.
- Oliver
Knute Johnson - 15 Feb 2007 17:13 GMT
>>> Hi,
>>>
[quoted text clipped - 8 lines]
>
> - Oliver
It was late. I got 83% of his characters :-).

Signature
Knute Johnson
email s/nospam/knute/
RedGrittyBrick - 15 Feb 2007 23:25 GMT
>>>> Hi,
>>>>
[quoted text clipped - 10 lines]
>
> It was late. I got 83% of his characters :-).
The other 17% were caught by the solution to the identical question the
OP multiposted to comp.lang.perl.misc
Knute Johnson - 16 Feb 2007 04:48 GMT
>>>>> Hi,
>>>>>
[quoted text clipped - 13 lines]
> The other 17% were caught by the solution to the identical question the
> OP multiposted to comp.lang.perl.misc
There you go, I should have just gone to bed!

Signature
Knute Johnson
email s/nospam/knute/