Avatar

Level 10

Hi,

have you tried replace(/?=\r/g, "") ?

There are a few limitations in EcmaScript used by Acrobat/Readers JavaScript engine, so lookaheads or lookbehinds in regular expresions aren't supported. I currently don't remember which one it was.