I can delete the comment line with the following code, but it will produce an empty line
Macro Macro20
Perfect solution to the problem
_s.replacerx("//.*\n" "")
Macro Macro20
_s=
;DocumentModel document = new DocumentModel();
;
;Section section = new Section(document);
;document.Sections.Add(section);
;
;Paragraph paragraph = new Paragraph(document);
;section.Blocks.Add(paragraph);
;
;Run 文字一run = new Run(document, "文字二");
;paragraph.Inlines.Add(run);
;
;文字三document.Save("test.docx");文字四
;
;//文字
;ComponentInfo.SetLicense("FREE-LIMITED-KEY");
_s.replacerx("//.*" "")
out _s
Perfect solution to the problem
_s.replacerx("//.*\n" "")