We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Drafts/Language("Find what:", "Replace with:")
Jump to navigation
Jump to search
- This is still a work in progress. It may be changed in the future.
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Language("Find what:", "Replace with:") is a W.I.P. in the string-rewriting paradigm. The design is influence by Notepad++'s Find and Replace feature.
Header
# Comments follow the # symbol
The first line of output is removed; comments are ignored. EOF = "End of file."
Examples
Javascript
Language("Find what:", "Replace with:")
Find("\r\n", "Replace with:")
Replace("");\r\nconsole.log("")
Find("EOF", "Replace with");
Replace("");"")
Output
Hello, World!");
console.log("Hello, World!");
Python
Language("Find what:", "Replace with:")
Find("\r\n", "Replace with:")
Replace("");\r\nprint("")
Find("EOF", "Replace with");
Replace("");"")
Output
Hello, World!");
print("Hello, World!");
External Resources
- https://duckduckgo.com/?t=h_&q=notepad+%2B%2B+portable&ia=web A DuckDuckGo search query for Notepad++