Replace a string with a table

Hi, we have Aspose version 14.8.0 installed, I am wondering if you might be able to tell me how to replace a string with a table in this version.

eg.
Table tbl = builder.StartTable();

etc until the table is done. -> builder.EndTable()

And then I want to use this table to replace a string – something like this:
doc.Range.Replace(new Regex("[Table_To_Replace]"), tbl );

How would I do that?
If that’s not possible could you tell me how to find a position of a string eg [Table] and then delete the string and create the table at the position of that string?

Thank you very much in advance!

@AlinaS

@sujitghegade

This forum is for topics related to Aspose REST APIs whereas your query is relevant to Aspose Native/Downloadable APIs. Please follow this thread Replace a string with a Table - Free Support Forum - aspose.com for an answer to your query.