--- In [EMAIL PROTECTED], "Owen Watson" <[EMAIL PROTECTED]> wrote:
>
> I'm a bit out of my depth here with regex in PPro.
> At the moment my replace line is here:
> textIn[?"([\x7F-\xFF]+)"]="<b>GREMLIN(\\1)</b>"
> . . in other words, I'm trying to replace upper-ASCII characters with
> an alert message and the original chars. However, I'd like the chars
> displayed after GREMLIN to be the hex codes separated by spaces.
> ie GREMLIN(FF E7 E8)
> Is this possible?
>
It seems to me you want to match your regular expression against
textIn (where \0 will return the found text in ASCII) then convert
those ASCII characters to hex codes using PowerPro case ("tonumx",
yourvar)), then replace that string of hex codes with your formatted
string.
Regards,
Sheri