Range.Replace does not work after upgrade from 17.1 to 20.4 version of Aspose.Words for .NET

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?

@stanlife

The API related to find and replace text has been changed. We suggest you please read the following article.
Find and Replace

Please check the overloads of Range.Replace method.

The namespace of Cell class is Aspose.Words.Tables. Could you please share some detail about this issue? We will then provide you more information on it.