Run Typescript with Node Add "type": "module" to package.json Run .ts files with tsx script.ts VS Code regex replacements $$((.|\n)*?)$$ math\n$1\n