Special Charaters

I m trying to replace a word with another word having special characters (enter key (vbCrLf) ) that time i m gettin the following error.
“The replace string cannot contain special or break characters”
Kindly help me.

This message was posted using Aspose.Live 2 Forum

Hi

Thanks for your inquiry. Replacement string should not contain special characters. However, if you need to replace with text, which contains special characters, you can use ReplaceEvaluator. Please see the following link for more information:
https://reference.aspose.com/words/net/aspose.words/range/replace/
Hope this helps. Please let me know in case of any issues, I will be glad to help you.
Best regards.