Hello,
I have updated Aspose.Word from Aspose 17.1 to Aspose 20.4 and now some of my code is not valid anymore. In the previous version I used the following code:
var regEx = new Regex(Regex.Escape(TableMarkupTokens.EmptyToken.Value), RegexOptions.Compiled);
cell.Range.Replace(regEx, new RemoveLine() ,false) // removes the whole row
where cell is an object of
Aspose.Words.Tables.Cell
.
In the new version Replace expects a string as the second argument. How can I rewrite the code in Aspose.Word 20.4 overcome the bug and achieve the same goal?