// Create a new document and add sample text containing language code tags. // Set up find‑replace options with a custom callback. FindReplaceOptions options = new FindReplaceOptions(new ...