>>>>> "Leon" == Leon Andrews <[EMAIL PROTECTED]> writes:

> Hi,
> MS Access has a habit of converting 3 dots "..." into a single character
> representing the 3 dots. When I look at a text file containing this
> character in Hex mode, it has a value of 85. How do I do a pattern match for
> this character based on its hex value, so I can replace it with 3 periods?
> At the moment I am resorting to pasting it into the perl program like so...
> (which works but is not ideal)

> $text =~ s/paste weird char here/.../g;

In general, you can represent any hex character as "\xnn", so you
might try:

$text =~ s/\x85/.../g;

Sarir

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to