We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

document.Range.Replace Slash R

Can you please help me replace \r with some text using document.Range.Replace

The string replace doesn't work and I can't get the regex working.

Hi

Thanks for your inquiry. Unfortunately you can’t use special characters in Range.Replace method. An exception is thrown if a captured or replacement string contains one or more special characters: paragraph break, cell break, section break, field start, field separator, field end, inline picture, drawing object, footnote.

Best regards.