I have sought the sixth way...
Find: ^;([\w]+)\r([\s\S]+?)\(([\s\S]+?)\)$
Replace: ;\1\r\2\r;\1\-stdcontents\r1,\3
#regex #madness #thesixthway #oglaf #ragtime