Range.Replace changes paragaph break to square using C#

Hi, when using ControlChar.ParagraphBreak in a string, it appears as a square character in the document using Range.Replace function.

@ecarandang

You need to use special meta-characters if you need to work with breaks:

  • &p - paragraph break
  • &b - section break
  • &m - page break
  • &l - manual line break

Please use &p for paragraph break in Range.Replace method. We suggest you please read the following article.
Replace Text using Meta-Characters

If you still face problem, please ZIP and attach your input, output and expected output documents along with code example to reproduce your issue at our end. We will then investigate the issue and provide you more information on it.