Hi
We have an issue with the order which the Range.Replace method is working.AsposeReplaceIssue.zip (270.3 KB)
There is a difference in order between the now deprecated Replace( Regex, iReplacingCallback, bool) which we are using and the current Replace (Regex, string, FindReplaceOptions) which is demonstrated in the attached in the attached solution.
This is the test doc
image.png (22.0 KB)
The old method will process in the order
Tag 1
Tag 2
Tag 3
Whereas the new method
Tag 1
Tag 3
Tag 2
Thanks!